diff options
author | Sebastian Benoit <benno@cvs.openbsd.org> | 2017-08-06 12:28:32 +0000 |
---|---|---|
committer | Sebastian Benoit <benno@cvs.openbsd.org> | 2017-08-06 12:28:32 +0000 |
commit | ab068b9e27d580ce400aed623586d20f6fff9d28 (patch) | |
tree | 4aff9d13e959096fa37c366cc899539dd3082da4 /usr.sbin/bgpd | |
parent | baa3b933cd312b24ee58ba8813da69cf7e48d237 (diff) |
add a zeroed out element at the end of the iana_ext_comms array, so
that the iteration over it actually stops.
ok and feedback from florian@ phessler@ and claudio@
Diffstat (limited to 'usr.sbin/bgpd')
-rw-r--r-- | usr.sbin/bgpd/bgpd.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/bgpd/bgpd.h b/usr.sbin/bgpd/bgpd.h index ed248775699..6012d9d2537 100644 --- a/usr.sbin/bgpd/bgpd.h +++ b/usr.sbin/bgpd/bgpd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: bgpd.h,v 1.309 2017/06/26 10:05:57 phessler Exp $ */ +/* $OpenBSD: bgpd.h,v 1.310 2017/08/06 12:28:31 benno Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -817,6 +817,8 @@ struct ext_comm_pairs { { EXT_COMMUNITY_TRANS_EVPN, 0x00, "mac-mob" }, \ { EXT_COMMUNITY_TRANS_EVPN, 0x01, "esi-lab" }, \ { EXT_COMMUNITY_TRANS_EVPN, 0x02, "esi-rt" }, \ + \ + { 0 }, \ } extern const struct ext_comm_pairs iana_ext_comms[]; |