summaryrefslogtreecommitdiffstats
path: root/net.h
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-09-16 13:15:21 +0000
committerRoy Marples <roy@marples.name>2008-09-16 13:15:21 +0000
commit9c7d387680c41b35e99a0509dd58c2b8fd38c896 (patch)
treeb410deda3c6eb300bd39439ce018bda7599f5a7d /net.h
parent12653e16439d180b38a660d1137ac8ce8cef475d (diff)
downloaddhcpcd-9c7d387680c41b35e99a0509dd58c2b8fd38c896.tar.xz
Fix compile.
Diffstat (limited to 'net.h')
-rw-r--r--net.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/net.h b/net.h
index 43cd650c..5750349a 100644
--- a/net.h
+++ b/net.h
@@ -113,9 +113,9 @@ int if_address(const struct interface *,
#define del_address(iface, addr, net) \
if_address(iface, addr, net, NULL, -1)
#define has_address(iface, addr, net) \
- do_interface(iface, NULL, 0, NULL, addr, net, 0)
+ do_interface(iface, NULL, NULL, 0, NULL, addr, net, 0)
#define get_address(iface, addr, net) \
- do_interface(iface, NULL, 0, NULL, addr, net, 1)
+ do_interface(iface, NULL, NULL, 0, NULL, addr, net, 1)
int if_route(const struct interface *, const struct in_addr *,
const struct in_addr *, const struct in_addr *, int, int);