projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove linux 2.4 specific build system code
[openwrt.git]
/
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
6d6dbc7
..
9081e5a
100644
(file)
--- a/
package/busybox/patches/802-brctl_linux24.patch
+++ b/
package/busybox/patches/802-brctl_linux24.patch
@@
-1,6
+1,6
@@
--- a/networking/brctl.c
+++ b/networking/brctl.c
--- a/networking/brctl.c
+++ b/networking/brctl.c
-@@ -
18,7 +18
,7 @@
+@@ -
32,7 +32
,7 @@
/* Maximum number of ports supported per bridge interface. */
#ifndef MAX_PORTS
/* Maximum number of ports supported per bridge interface. */
#ifndef MAX_PORTS
@@
-9,7
+9,7
@@
#endif
/* Use internal number parsing and not the "exact" conversion. */
#endif
/* Use internal number parsing and not the "exact" conversion. */
-@@ -1
55,6 +155,7 @@ int brctl_main(int argc ATTRIBUTE_UNUSED
+@@ -1
69,6 +169,7 @@ int brctl_main(int argc UNUSED_PARAM, ch
printf(bi.stp_enabled ? "\tyes" : "\tno");
/* print interface list */
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);
arm_ioctl(args, BRCTL_GET_PORT_LIST,
(unsigned long) ifidx, MAX_PORTS);
xioctl(fd, SIOCDEVPRIVATE, &ifr);
-@@ -1
83,9 +184,19 @@ int brctl_main(int argc ATTRIBUTE_UNUSED
+@@ -1
97,9 +198,19 @@ int brctl_main(int argc UNUSED_PARAM, ch
br = *argv++;
if (key == ARG_addbr || key == ARG_delbr) { /* addbr or delbr */
br = *argv++;
if (key == ARG_addbr || key == ARG_delbr) { /* addbr or delbr */
@@
-40,9
+40,9
@@
goto done;
}
goto done;
}
-@@ -
194,14 +205,27 @@ int brctl_main(int argc ATTRIBUTE_UNUSED
+@@ -
208,14 +219,27 @@ int brctl_main(int argc UNUSED_PARAM, ch
- strncpy
(ifr.ifr_name, br, IFNAMSIZ
);
+ strncpy
_IFNAMSIZ(ifr.ifr_name, br
);
if (key == ARG_addif || key == ARG_delif) { /* addif or delif */
+ int ret;
+ int if_index;
if (key == ARG_addif || key == ARG_delif) { /* addif or delif */
+ int ret;
+ int if_index;
This page took
0.029425 seconds
and
4
git commands to generate.