summaryrefslogtreecommitdiffstats
path: root/sbin/routed
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2009-12-28 22:56:30 +0000
committerantoine <antoine@FreeBSD.org>2009-12-28 22:56:30 +0000
commitbfd388c026e6aeb5427df50347b59d62feb3072e (patch)
tree368556d68241b943dc9c2ec710bd21f97a0e608d /sbin/routed
parent2414a09002c0b7080b6044e995d127de758f3e12 (diff)
downloadFreeBSD-src-bfd388c026e6aeb5427df50347b59d62feb3072e.zip
FreeBSD-src-bfd388c026e6aeb5427df50347b59d62feb3072e.tar.gz
(S)LIST_HEAD_INITIALIZER takes a (S)LIST_HEAD as an argument.
Fix some wrong usages. Note: this does not affect generated binaries as this argument is not used. PR: 137213 Submitted by: Eygene Ryabinkin (initial version) MFC after: 1 month
Diffstat (limited to 'sbin/routed')
-rw-r--r--sbin/routed/if.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/routed/if.c b/sbin/routed/if.c
index 61ac412..1c185d7 100644
--- a/sbin/routed/if.c
+++ b/sbin/routed/if.c
@@ -42,7 +42,7 @@ __RCSID("$Revision: 2.27 $");
#endif
struct ifhead ifnet = LIST_HEAD_INITIALIZER(ifnet); /* all interfaces */
-struct ifhead remote_if = LIST_HEAD_INITIALIZER(ifnet); /* remote interfaces */
+struct ifhead remote_if = LIST_HEAD_INITIALIZER(remote_if); /* remote interfaces */
/* hash table for all interfaces, big enough to tolerate ridiculous
* numbers of IP aliases. Crazy numbers of aliases such as 7000
OpenPOWER on IntegriCloud