diff options
| author | marekm72 <35698605+marekm72@users.noreply.github.com> | 2026-02-22 21:42:10 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-02-22 21:42:10 +0100 |
| commit | 3f46d73994f007dbf3e85fd1a2ae22aba8ce459e (patch) | |
| tree | 9d6058f2dfd74df1680efb6186d1e5d0962c00b1 /accel-pppd/ctrl | |
| parent | b52d38df680450b413869edeeaa3baaba73e2918 (diff) | |
| download | accel-ppp-3f46d73994f007dbf3e85fd1a2ae22aba8ce459e.tar.gz accel-ppp-3f46d73994f007dbf3e85fd1a2ae22aba8ce459e.zip | |
Refactor ARP header includes in arp.c
Replaced conditional inclusion of if_arp.h and if_packet.h with direct includes.
Diffstat (limited to 'accel-pppd/ctrl')
| -rw-r--r-- | accel-pppd/ctrl/ipoe/arp.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/accel-pppd/ctrl/ipoe/arp.c b/accel-pppd/ctrl/ipoe/arp.c index ef9d3859..a6ca5b13 100644 --- a/accel-pppd/ctrl/ipoe/arp.c +++ b/accel-pppd/ctrl/ipoe/arp.c @@ -13,10 +13,8 @@ #include <netinet/ip.h> #include <sys/socket.h> #include <sys/ioctl.h> -#ifdef HAVE_GOOD_IFARP -#include <linux/if_arp.h> -#endif -#include <linux/if_packet.h> +#include <net/if_arp.h> +#include <netpacket/packet.h> #include "list.h" #include "triton.h" |
