From: nbd Date: Sat, 23 Jan 2016 15:24:19 +0000 (+0000) Subject: linux-atm: add missing br2684ctl patch chunk X-Git-Url: http://207.154.207.93/?a=commitdiff_plain;h=600574888de0d9d9e488df8d6bca237398ce1efc;p=openwrt.git linux-atm: add missing br2684ctl patch chunk Signed-off-by: Felix Fietkau git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48458 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/package/network/utils/linux-atm/patches/500-br2684ctl_script.patch b/package/network/utils/linux-atm/patches/500-br2684ctl_script.patch index e5481c8d17..78aabf894c 100644 --- a/package/network/utils/linux-atm/patches/500-br2684ctl_script.patch +++ b/package/network/utils/linux-atm/patches/500-br2684ctl_script.patch @@ -42,6 +42,15 @@ 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; }