diff options
| author | Roy Marples <roy@marples.name> | 2008-01-27 11:31:01 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2008-01-27 11:31:01 +0000 |
| commit | 8404debd0687f23f35e44a11a66073a6ca362e63 (patch) | |
| tree | a6cfe40074af2dc966c251d5c12f01b3331aaae6 /arp.c | |
| parent | 13be7b8d0159b738e74546333fafe12ca1a3cd6a (diff) | |
| download | dhcpcd-8404debd0687f23f35e44a11a66073a6ca362e63.tar.xz | |
Linux has LPF, which is almost like BPF. Let's use and let the kernel filter out what we don't need.
Diffstat (limited to 'arp.c')
| -rw-r--r-- | arp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -133,7 +133,7 @@ int arp_claim (interface_t *iface, struct in_addr address) "checking %s is available on attached networks", inet_ntoa (address)); - if (! open_socket (iface, true)) + if (! open_socket (iface, ETHERTYPE_ARP)) return (-1); memset (&null_address, 0, sizeof (struct in_addr)); |
