diff options
| author | 2007-10-11 19:06:41 +0000 | |
|---|---|---|
| committer | 2007-10-11 19:06:41 +0000 | |
| commit | 803750389b9dd21269f9836ddb45397fc0edf3b0 (patch) | |
| tree | bf6f2a62dac71d7f02ef2a9e37e92934ab0ce40d /usr.sbin/ospf6d/database.c | |
| parent | From ospfd: (diff) | |
| download | wireguard-openbsd-803750389b9dd21269f9836ddb45397fc0edf3b0.tar.xz wireguard-openbsd-803750389b9dd21269f9836ddb45397fc0edf3b0.zip | |
area_ospf_options() should return the options in network byte order.
Diffstat (limited to 'usr.sbin/ospf6d/database.c')
| -rw-r--r-- | usr.sbin/ospf6d/database.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/ospf6d/database.c b/usr.sbin/ospf6d/database.c index 5096edb8841..a26b9f54bd6 100644 --- a/usr.sbin/ospf6d/database.c +++ b/usr.sbin/ospf6d/database.c @@ -1,4 +1,4 @@ -/* $OpenBSD: database.c,v 1.4 2007/10/11 19:02:47 claudio Exp $ */ +/* $OpenBSD: database.c,v 1.5 2007/10/11 19:06:41 claudio Exp $ */ /* * Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org> @@ -113,6 +113,8 @@ send_db_description(struct nbr *nbr) fatalx("send_db_description: unknown neighbor state"); } + bzero(&dd_hdr, sizeof(dd_hdr)); + switch (nbr->iface->type) { case IF_TYPE_POINTOPOINT: inet_pton(AF_INET6, AllSPFRouters, &dst); |
