projects
/
people
/
alex
/
keepalived.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e37f7de
)
Use netpacket/packet.h instead of linux/if_packet.h to get sockaddr_ll.
author
Vincent Bernat
<bernat@luffy.cx>
Mon, 23 Aug 2010 17:42:34 +0000
(17:42 +0000)
committer
Alexandre Cassen
<acassen@lnxos-dev.(none)>
Wed, 8 Dec 2010 10:43:10 +0000
(11:43 +0100)
linux/if_packet.h pulls linux/types.h that should not be used by a
userland program since types defined here can conflict with stdint.h.
We use netpacket/packet.h which is a GNU LibC header.
keepalived/vrrp/vrrp_arp.c
patch
|
blob
|
history
diff --git
a/keepalived/vrrp/vrrp_arp.c
b/keepalived/vrrp/vrrp_arp.c
index
e31abe0
..
e608b66
100644
(file)
--- a/
keepalived/vrrp/vrrp_arp.c
+++ b/
keepalived/vrrp/vrrp_arp.c
@@
-21,7
+21,7
@@
*/
/* system includes */
-#include <linux/if_packet.h>
+#include <netpacket/packet.h>
/* local includes */
#include "logger.h"