nmap/ncat_reg_stdin.diff

13 lines
420 B
Diff
Raw Normal View History

2013-01-04 11:54:42 +00:00
diff -up nmap-6.01/ncat/ncat_main.c.noepoll nmap-6.01/ncat/ncat_main.c
--- nmap-6.01/ncat/ncat_main.c.noepoll 2013-01-04 12:50:18.670295473 +0100
+++ nmap-6.01/ncat/ncat_main.c 2013-01-04 12:50:18.692295660 +0100
@@ -280,6 +280,8 @@ int main(int argc, char *argv[])
#ifdef WIN32
windows_init();
#endif
+
+ nsock_set_default_engine("select");
2013-01-04 11:54:42 +00:00
while (1) {
/* handle command line arguments */