linux-atm: add missing br2684ctl patch chunk
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 23 Jan 2016 15:24:19 +0000 (15:24 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 23 Jan 2016 15:24:19 +0000 (15:24 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48458 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/network/utils/linux-atm/patches/500-br2684ctl_script.patch

index e5481c8..78aabf8 100644 (file)
    printf("  encapsulations: 0=llc, 1=vcmux\n  payloads: 0=routed, 1=bridged\n");
    exit(1);
  }
+@@ -225,7 +234,7 @@ int main (int argc, char **argv)
+   openlog (LOG_NAME,LOG_OPTION,LOG_FACILITY);
+   if (argc>1)
+-    while ((c = getopt(argc, argv,"q:a:bc:e:s:p:?h")) !=EOF)
++    while ((c = getopt(argc, argv,"q:a:bc:e:s:S:p:?h")) !=EOF)
+       switch (c) {
+       case 'q':
+       printf ("optarg : %s",optarg);
 @@ -258,6 +267,9 @@ int main (int argc, char **argv)
          params.sndbuf=8192;
        }