summaryrefslogtreecommitdiff
path: root/usr.sbin/ospfd
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2005-10-18 09:32:17 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2005-10-18 09:32:17 +0000
commitdb174e86ce04260b03eb357525024cbac76d1a0a (patch)
treef1e108162b1dcff44894a528bcb803f36ab1b822 /usr.sbin/ospfd
parentf48300711e2fc2e5283ce1979cec08d8024dcbd8 (diff)
Correct log_debug(). Found while scrolling through that file.
Diffstat (limited to 'usr.sbin/ospfd')
-rw-r--r--usr.sbin/ospfd/packet.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/ospfd/packet.c b/usr.sbin/ospfd/packet.c
index 814694e7df4..0326a65981c 100644
--- a/usr.sbin/ospfd/packet.c
+++ b/usr.sbin/ospfd/packet.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: packet.c,v 1.13 2005/10/12 09:09:36 claudio Exp $ */
+/* $OpenBSD: packet.c,v 1.14 2005/10/18 09:32:16 claudio Exp $ */
/*
* Copyright (c) 2004, 2005 Esben Norby <norby@openbsd.org>
@@ -249,8 +249,9 @@ ospf_hdr_sanity_check(const struct ip *ip_hdr, struct ospf_hdr *ospf_hdr,
}
} else {
if (ospf_hdr->area_id != 0) {
+ addr.s_addr = ospf_hdr->area_id;
log_debug("recv_packet: invalid area ID %s, "
- "interface %s",iface->name);
+ "interface %s", inet_ntoa(addr), iface->name);
return (-1);
}
}