summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.sbin/ospf6d/hello.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/usr.sbin/ospf6d/hello.c b/usr.sbin/ospf6d/hello.c
index 56b99813595..4a135c145f8 100644
--- a/usr.sbin/ospf6d/hello.c
+++ b/usr.sbin/ospf6d/hello.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: hello.c,v 1.6 2007/10/11 19:21:25 claudio Exp $ */
+/* $OpenBSD: hello.c,v 1.7 2007/10/11 20:41:28 claudio Exp $ */
/*
* Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org>
@@ -136,17 +136,6 @@ recv_hello(struct iface *iface, struct in6_addr *src, u_int32_t rtr_id,
buf += sizeof(hello);
len -= sizeof(hello);
-#if 0
-XXX
- if (iface->type != IF_TYPE_POINTOPOINT &&
- iface->type != IF_TYPE_VIRTUALLINK)
- if (hello.mask != iface->mask.s_addr) {
- log_warnx("recv_hello: invalid netmask, interface %s",
- iface->name);
- return;
- }
-#endif
-
if (ntohs(hello.hello_interval) != iface->hello_interval) {
log_warnx("recv_hello: invalid hello-interval %d, "
"interface %s", ntohs(hello.hello_interval),