summaryrefslogtreecommitdiffstats
path: root/net.h
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-09-15 19:15:52 +0000
committerRoy Marples <roy@marples.name>2008-09-15 19:15:52 +0000
commitafc7387846a6e8f01deafe2f2ae797392d496413 (patch)
treeddbaa902c469571b995217d549254f8cb399542a /net.h
parent1da85ce3902e0fa159b35f24f5addffeb9493eac (diff)
downloaddhcpcd-afc7387846a6e8f01deafe2f2ae797392d496413.tar.xz
We need to flush the ARP table after configuring new routes.
Diffstat (limited to 'net.h')
-rw-r--r--net.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/net.h b/net.h
index 5191a7e7..806b5a19 100644
--- a/net.h
+++ b/net.h
@@ -127,6 +127,7 @@ int if_route(const struct interface *, const struct in_addr *,
if_route(iface, dest, mask, gate, metric, -1)
#define del_src_route(iface, dest, mask, gate, metric) \
if_route(iface, dest, mask, gate, metric, -2)
+int arp_flush(void);
void free_routes(struct rt *);
int open_udp_socket(struct interface *);