summaryrefslogtreecommitdiffstats
path: root/bfdd/bfd_packet.c
diff options
context:
space:
mode:
authorRafael Zalamena <rzalamena@opensourcerouting.org>2018-07-25 04:03:41 +0200
committerRafael Zalamena <rzalamena@opensourcerouting.org>2018-08-08 23:25:08 +0200
commit6ed8494935ce9639a111dceb04415a20a7053fb0 (patch)
tree6bac15f221c82fa2c423417e20d91900700f5fcc /bfdd/bfd_packet.c
parentbfdd: code refactory for simplification (diff)
downloadfrr-6ed8494935ce9639a111dceb04415a20a7053fb0.tar.xz
frr-6ed8494935ce9639a111dceb04415a20a7053fb0.zip
bfdd: clean up header inclusion
Most of the headers we need are included by zebra.h, so lets simplify this. Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
Diffstat (limited to 'bfdd/bfd_packet.c')
-rw-r--r--bfdd/bfd_packet.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/bfdd/bfd_packet.c b/bfdd/bfd_packet.c
index 79aa706a5..17c248619 100644
--- a/bfdd/bfd_packet.c
+++ b/bfdd/bfd_packet.c
@@ -30,18 +30,8 @@
#include <linux/if_packet.h>
#endif /* BFD_LINUX */
-#include <arpa/inet.h>
#include <netinet/if_ether.h>
-#include <netinet/in.h>
-#include <netinet/ip.h>
#include <netinet/udp.h>
-#include <sys/types.h>
-#include <sys/socket.h>
-
-#include <err.h>
-#include <errno.h>
-#include <stdint.h>
-#include <unistd.h>
#include "lib/sockopt.h"