diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2004-07-07 21:15:19 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2004-07-07 21:15:19 +0000 |
commit | a975fbf31a5ab32cf6f91aa74dcf70c459f5a2ce (patch) | |
tree | f1df6992af02ca0ad73bf6c61a990b8769cb8d77 | |
parent | bf1453ff1dd2892bf7abbd2fcb55224b03c48a71 (diff) |
Bad interpretation of the oh so well documented mrt spec. Found by
Stefan Wahl.
-rw-r--r-- | usr.sbin/bgpd/mrt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/bgpd/mrt.c b/usr.sbin/bgpd/mrt.c index e68fccc95d8..e6fb01fc5a7 100644 --- a/usr.sbin/bgpd/mrt.c +++ b/usr.sbin/bgpd/mrt.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mrt.c,v 1.33 2004/07/03 17:19:59 claudio Exp $ */ +/* $OpenBSD: mrt.c,v 1.34 2004/07/07 21:15:18 claudio Exp $ */ /* * Copyright (c) 2003, 2004 Claudio Jeker <claudio@openbsd.org> @@ -139,7 +139,7 @@ mrt_dump_state(struct mrt *mrt, u_int16_t old_state, u_int16_t new_state, DUMP_SHORT(buf, bgp->as); DUMP_SHORT(buf, peer->remote_as); DUMP_SHORT(buf, /* ifindex */ 0); - DUMP_SHORT(buf, 4); + DUMP_SHORT(buf, AFI_IPv4); DUMP_NLONG(buf, peer->local_addr.v4.s_addr); DUMP_NLONG(buf, peer->remote_addr.v4.s_addr); |