diff options
author | 2007-10-10 13:36:01 +0000 | |
---|---|---|
committer | 2007-10-10 13:36:01 +0000 | |
commit | 632794cd4935d281fffc3f8fe9c9d2b16d6eacb8 (patch) | |
tree | 365df047dfe142f8312f7169d155778566764a90 | |
parent | Limit the allowed characters in a request to [a-zA-Z0-9-_.:/= ] everything (diff) | |
download | wireguard-openbsd-632794cd4935d281fffc3f8fe9c9d2b16d6eacb8.tar.xz wireguard-openbsd-632794cd4935d281fffc3f8fe9c9d2b16d6eacb8.zip |
Turn on the V6 and E bits in hello messages. This makes other OSPFv3 routers
a bit more happy. The E bit should be turned of in stub areas but there is no
support for those at the moment. OK norby@
-rw-r--r-- | usr.sbin/ospf6d/hello.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.sbin/ospf6d/hello.c b/usr.sbin/ospf6d/hello.c index fa872a3f9af..43ba7410c18 100644 --- a/usr.sbin/ospf6d/hello.c +++ b/usr.sbin/ospf6d/hello.c @@ -1,4 +1,4 @@ -/* $OpenBSD: hello.c,v 1.2 2007/10/09 06:26:47 claudio Exp $ */ +/* $OpenBSD: hello.c,v 1.3 2007/10/10 13:36:01 claudio Exp $ */ /* * Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org> @@ -79,8 +79,7 @@ send_hello(struct iface *iface) /* XXX options */ hello.opts1 = 0; hello.opts2 = 0; - hello.opts3 = 0; - hello.opts3 |= OSPF_OPTION_R; /* XXX */ + hello.opts3 = OSPF_OPTION_V6 | OSPF_OPTION_E | OSPF_OPTION_R; /* XXX */ hello.hello_interval = htons(iface->hello_interval); hello.rtr_dead_interval = htons(iface->dead_interval); |