summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ospf6d/interface.c
diff options
context:
space:
mode:
authorclaudio <claudio@openbsd.org>2007-10-11 20:20:44 +0000
committerclaudio <claudio@openbsd.org>2007-10-11 20:20:44 +0000
commit489ea22060c1544857818de56f163ccf098bb166 (patch)
tree914e65497a63a0527ddac0579a23caa54ce37d5c /usr.sbin/ospf6d/interface.c
parentDisable some code that is currently far from working and results in frequent (diff)
downloadwireguard-openbsd-489ea22060c1544857818de56f163ccf098bb166.tar.xz
wireguard-openbsd-489ea22060c1544857818de56f163ccf098bb166.zip
In OSPFv3 auth crypt is no longer (actually all the auth code is gone) so
kill crypt_seq_num as well.
Diffstat (limited to 'usr.sbin/ospf6d/interface.c')
-rw-r--r--usr.sbin/ospf6d/interface.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.sbin/ospf6d/interface.c b/usr.sbin/ospf6d/interface.c
index 8f9fc0ce733..6dc8b0d2e3e 100644
--- a/usr.sbin/ospf6d/interface.c
+++ b/usr.sbin/ospf6d/interface.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: interface.c,v 1.3 2007/10/09 06:33:17 claudio Exp $ */
+/* $OpenBSD: interface.c,v 1.4 2007/10/11 20:20:44 claudio Exp $ */
/*
* Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org>
@@ -168,8 +168,6 @@ if_new(struct kif *kif, struct kif_addr *ka)
LIST_INIT(&iface->nbr_list);
TAILQ_INIT(&iface->ls_ack_list);
- iface->crypt_seq_num = arc4random() & 0x0fffffff;
-
if (kif == NULL) {
iface->type = IF_TYPE_VIRTUALLINK;
snprintf(iface->name, sizeof(iface->name), "vlink%d",