iplink: another compat #ifndef/#define tweak
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
This commit is contained in:
parent
0ff78a0166
commit
c71ec70616
@ -17,7 +17,9 @@
|
|||||||
|
|
||||||
#ifndef IFLA_LINKINFO
|
#ifndef IFLA_LINKINFO
|
||||||
# define IFLA_LINKINFO 18
|
# define IFLA_LINKINFO 18
|
||||||
|
# define IFLA_INFO_KIND 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* taken from linux/sockios.h */
|
/* taken from linux/sockios.h */
|
||||||
#define SIOCSIFNAME 0x8923 /* set interface name */
|
#define SIOCSIFNAME 0x8923 /* set interface name */
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user