linux-atm: add missing br2684ctl patch chunk
authorFelix Fietkau <nbd@openwrt.org>
Sat, 23 Jan 2016 15:24:19 +0000 (15:24 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 23 Jan 2016 15:24:19 +0000 (15:24 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48458

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

index e5481c8d17db3f248603bdb64e933f145208146c..78aabf894c6ac0efaa04e6fb82007fa9f8526ae7 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;
        }