diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2007-10-10 13:36:02 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2007-10-10 13:36:02 +0000 |
commit | c833cb12132a3d88fa1f85477f01cee5cc15709c (patch) | |
tree | c4b2f45ee5918684e0e261f1edd8dea255fab0a1 /usr.sbin | |
parent | 1ee8c6bef293ea00fd0643843d87cc6784b20527 (diff) |
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@
Diffstat (limited to 'usr.sbin')
-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); |