X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/9dfc3e34ee54d00b68cc4cbb5cddcfa588fd07fb..ca0a92a8f5bce255c1a195533644d39750b5109d:/package/busybox/patches/802-brctl_linux24.patch diff --git a/package/busybox/patches/802-brctl_linux24.patch b/package/busybox/patches/802-brctl_linux24.patch index 9081e5adc..8cc19779a 100644 --- a/package/busybox/patches/802-brctl_linux24.patch +++ b/package/busybox/patches/802-brctl_linux24.patch @@ -1,15 +1,15 @@ --- a/networking/brctl.c +++ b/networking/brctl.c -@@ -32,7 +32,7 @@ +@@ -56,7 +56,7 @@ /* Maximum number of ports supported per bridge interface. */ #ifndef MAX_PORTS --#define MAX_PORTS 32 -+#define MAX_PORTS 1024 +-# define MAX_PORTS 32 ++# define MAX_PORTS 1024 #endif /* Use internal number parsing and not the "exact" conversion. */ -@@ -169,6 +169,7 @@ int brctl_main(int argc UNUSED_PARAM, ch +@@ -193,6 +193,7 @@ int brctl_main(int argc UNUSED_PARAM, ch printf(bi.stp_enabled ? "\tyes" : "\tno"); /* print interface list */ @@ -17,7 +17,7 @@ arm_ioctl(args, BRCTL_GET_PORT_LIST, (unsigned long) ifidx, MAX_PORTS); xioctl(fd, SIOCDEVPRIVATE, &ifr); -@@ -197,9 +198,19 @@ int brctl_main(int argc UNUSED_PARAM, ch +@@ -221,9 +222,19 @@ int brctl_main(int argc UNUSED_PARAM, ch br = *argv++; if (key == ARG_addbr || key == ARG_delbr) { /* addbr or delbr */ @@ -40,7 +40,7 @@ goto done; } -@@ -208,14 +219,27 @@ int brctl_main(int argc UNUSED_PARAM, ch +@@ -232,14 +243,27 @@ int brctl_main(int argc UNUSED_PARAM, ch strncpy_IFNAMSIZ(ifr.ifr_name, br); if (key == ARG_addif || key == ARG_delif) { /* addif or delif */