]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
No need for this.
authorRoy Marples <roy@marples.name>
Mon, 20 Apr 2009 13:47:27 +0000 (13:47 +0000)
committerRoy Marples <roy@marples.name>
Mon, 20 Apr 2009 13:47:27 +0000 (13:47 +0000)
net.c

diff --git a/net.c b/net.c
index c39ab75489fddaaba9802d94bfc389770ba15dd2..b1c2753f660212a306ef09b730ede755940e82bf 100644 (file)
--- a/net.c
+++ b/net.c
@@ -379,11 +379,7 @@ do_address(const char *ifname,
                n = (const struct sockaddr_in *)(void *)&ifa->ifa_netmask;
                if (ifa->ifa_flags & IFF_POINTOPOINT)
                        d = (const struct sockaddr_in *)(void *)
-#ifdef __linux__
-                               &ifa->ifa_ifu.ifu_dstaddr;
-#else
                                &ifa->ifa_dstaddr;
-#endif
                else
                        d = NULL;
                if (act == 1) {