diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2007-10-11 12:19:32 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2007-10-11 12:19:32 +0000 |
commit | 883c6340d4913899a5a68266d31ecd995948b29b (patch) | |
tree | c4591506486065ed4d292fc7d71d84e7eef7b957 /usr.sbin/ospfd/hello.c | |
parent | 64d51fafbb58bdc7417dd57ca5c83c8275143b4e (diff) |
Bye bye global ospf options. OSPF options are per area (at least the one
flag that we set). So introduce a area_ospf_options() function that will
return the correct flags for each area. This makes stub area support a lot
easier.
OK norby@
Diffstat (limited to 'usr.sbin/ospfd/hello.c')
-rw-r--r-- | usr.sbin/ospfd/hello.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ospfd/hello.c b/usr.sbin/ospfd/hello.c index 8bd805efc4c..56b786a70bb 100644 --- a/usr.sbin/ospfd/hello.c +++ b/usr.sbin/ospfd/hello.c @@ -1,4 +1,4 @@ -/* $OpenBSD: hello.c,v 1.13 2006/03/09 14:16:34 claudio Exp $ */ +/* $OpenBSD: hello.c,v 1.14 2007/10/11 12:19:31 claudio Exp $ */ /* * Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org> @@ -75,7 +75,7 @@ send_hello(struct iface *iface) /* hello header */ hello.mask = iface->mask.s_addr; hello.hello_interval = htons(iface->hello_interval); - hello.opts = oeconf->options; + hello.opts = area_ospf_options(iface->area); hello.rtr_priority = iface->priority; hello.rtr_dead_interval = htonl(iface->dead_interval); |