summaryrefslogtreecommitdiffstats
path: root/if-linux.c
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 /if-linux.c
parent1da85ce3902e0fa159b35f24f5addffeb9493eac (diff)
downloaddhcpcd-afc7387846a6e8f01deafe2f2ae797392d496413.tar.xz
We need to flush the ARP table after configuring new routes.
Diffstat (limited to 'if-linux.c')
-rw-r--r--if-linux.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/if-linux.c b/if-linux.c
index 803356cc..590bad18 100644
--- a/if-linux.c
+++ b/if-linux.c
@@ -396,6 +396,13 @@ if_route(const struct interface *iface,
return retval;
}
+/* No need to explicity flush arp on Linux */
+int
+arp_flush(void)
+{
+ return 0;
+}
+
struct interface *
discover_interfaces(int argc, char * const *argv)
{