brctl: fix compilation on 2.4.x kernels
This commit is contained in:
parent
9ec0ecbfdd
commit
802cab15e5
@ -16,6 +16,20 @@
|
||||
#include <linux/sockios.h>
|
||||
#include <net/if.h>
|
||||
|
||||
#ifndef SIOCBRADDBR
|
||||
# define SIOCBRADDBR BRCTL_ADD_BRIDGE
|
||||
#endif
|
||||
#ifndef SIOCBRDELBR
|
||||
# define SIOCBRDELBR BRCTL_DEL_BRIDGE
|
||||
#endif
|
||||
#ifndef SIOCBRADDIF
|
||||
# define SIOCBRADDIF BRCTL_ADD_IF
|
||||
#endif
|
||||
#ifndef SIOCBRDELIF
|
||||
# define SIOCBRDELIF BRCTL_DEL_IF
|
||||
#endif
|
||||
|
||||
|
||||
/* Maximum number of ports supported per bridge interface. */
|
||||
#ifndef MAX_PORTS
|
||||
#define MAX_PORTS 32
|
||||
|
Loading…
Reference in New Issue
Block a user