From 98a91773424625152d233468e673380e746d3a59 Mon Sep 17 00:00:00 2001
From: Felix Fietkau <nbd@openwrt.org>
Date: Sat, 23 Jan 2016 15:24:19 +0000
Subject: [PATCH] linux-atm: add missing br2684ctl patch chunk

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48458
---
 .../utils/linux-atm/patches/500-br2684ctl_script.patch   | 9 +++++++++
 1 file changed, 9 insertions(+)

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;
  	}
-- 
GitLab