diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2009-02-19 21:34:41 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2009-02-19 21:34:41 +0000 |
commit | cbfcd8fe5832d47c6f8117a5f643bd7b8c650485 (patch) | |
tree | a5c398b2b1c70acba32db39218713188f80895d7 | |
parent | 41ff3e4af344f1bb0731d24d2df8752d6621ebd1 (diff) |
Use a bob sized header for IPv6 not the default pedro sized one.
Seems like nobody ever tried to dump IPv6 tables. Found while reworking this
code.
-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 9f05a7a654f..afa50950eca 100644 --- a/usr.sbin/bgpd/mrt.c +++ b/usr.sbin/bgpd/mrt.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mrt.c,v 1.53 2007/04/23 13:04:24 claudio Exp $ */ +/* $OpenBSD: mrt.c,v 1.54 2009/02/19 21:34:40 claudio Exp $ */ /* * Copyright (c) 2003, 2004 Claudio Jeker <claudio@openbsd.org> @@ -358,7 +358,7 @@ mrt_dump_entry_mp(struct mrt *mrt, struct prefix *p, u_int16_t snum, len += MRT_BGP4MP_IPv4_ENTRY_SIZE + p_len + attr_len; break; case AF_INET6: - len += MRT_BGP4MP_IPv4_ENTRY_SIZE + p_len + attr_len; + len += MRT_BGP4MP_IPv6_ENTRY_SIZE + p_len + attr_len; break; default: return (-1); |