diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2010-04-22 08:18:01 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2010-04-22 08:18:01 +0000 |
commit | ee002b527e25fb15e005955afa544393a9e5aae6 (patch) | |
tree | ff5f6d31c022c3f8f4d0d4140d27f25629c4673d | |
parent | ac3db0abf6fbccbf574f0f227de12d46eea57413 (diff) |
Correct the BGP4MP subtypes according to draft-ietf-grow-mrt-11.
The _AS4 types where reversed and the local types are missing even though
I'm not sure if bgpd will ever support them.
-rw-r--r-- | usr.sbin/bgpd/mrt.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.sbin/bgpd/mrt.h b/usr.sbin/bgpd/mrt.h index b959afcd352..de489fab697 100644 --- a/usr.sbin/bgpd/mrt.h +++ b/usr.sbin/bgpd/mrt.h @@ -1,4 +1,4 @@ -/* $OpenBSD: mrt.h,v 1.24 2009/10/26 09:27:58 claudio Exp $ */ +/* $OpenBSD: mrt.h,v 1.25 2010/04/22 08:18:00 claudio Exp $ */ /* * Copyright (c) 2003, 2004 Claudio Jeker <claudio@openbsd.org> @@ -75,8 +75,10 @@ enum MRT_BGP4MP_TYPES { BGP4MP_MESSAGE, /* bgp message */ BGP4MP_ENTRY, /* table dumps (deprecated) */ BGP4MP_SNAPSHOT, /* file name for dump (deprecated) */ + BGP4MP_MESSAGE_AS4, /* same as BGP4MP_MESSAGE with 4byte AS */ BGP4MP_STATE_CHANGE_AS4, - BGP4MP_MESSAGE_AS4 /* same as BGP4MP_MESSAGE with 4byte AS */ + BGP4MP_MESSAGE_LOCAL, /* same as BGP4MP_MESSAGE but for self */ + BGP4MP_MESSAGE_AS4_LOCAL /* originated updates. Not implemented */ }; /* size of the BGP4MP headers without payload */ |