source: npl/overig/nc/virtmanager.patch @ 9e573a2

Last change on this file since 9e573a2 was c5c522c, checked in by Edwin Eefting <edwin@datux.nl>, 8 years ago

initial commit, transferred from cleaned syn3 svn tree

  • Property mode set to 100644
File size: 756 bytes
RevLine 
[c5c522c]1--- netcat.c.orig       2016-04-14 01:17:23.061175996 +0200
2+++ netcat.c    2016-04-14 01:18:27.770907532 +0200
3@@ -1479,7 +1479,7 @@
4 
5 /* If your shitbox doesn't have getopt, step into the nineties already. */
6 /* optarg, optind = next-argv-component [i.e. flag arg]; optopt = last-char */
7-  while ((x = getopt (argc, argv, "abe:g:G:hi:lno:p:q:rs:tuvw:z")) != EOF) {
8+  while ((x = getopt (argc, argv, "abe:g:G:hi:lno:p:q:rs:tuUvw:z")) != EOF) {
9 /* Debug (("in go: x now %c, optarg %x optind %d", x, optarg, optind)) */
10     switch (x) {
11       case 'a':
12@@ -1549,6 +1549,7 @@
13        o_tn++; break;
14 #endif /* TELNET */
15       case 'u':                                /* use UDP */
16+      case 'U':                                /* use UDP */
17        o_udpmode++; break;
18       case 'v':                                /* verbose */
19        o_verbose++; break;
Note: See TracBrowser for help on using the repository browser.