diff options
author | Renato Westphal <renato@opensourcerouting.org> | 2017-08-01 02:09:01 +0200 |
---|---|---|
committer | Renato Westphal <renato@opensourcerouting.org> | 2017-08-01 04:38:38 +0200 |
commit | a08ca0a7e101cbc44fc9300520bd0ab6a2c9b784 (patch) | |
tree | fc7a96bba33abeb7fb0f249837931efa05e0b8c1 /bgpd/bgp_updgrp_packet.c | |
parent | Merge pull request #881 from donaldsharp/ping_traceroute (diff) | |
download | frr-a08ca0a7e101cbc44fc9300520bd0ab6a2c9b784.tar.xz frr-a08ca0a7e101cbc44fc9300520bd0ab6a2c9b784.zip |
lib: remove SAFI_RESERVED_4 and SAFI_RESERVED_5
SAFI values have been a major source of confusion over the last few
years. That's because each SAFI needs to be represented in two different
ways:
* IANA's value used to send/receive packets over the network;
* Internal value used for array indexing.
In the second case, defining reserved values makes no sense because we
don't want to index SAFIs that simply don't exist. The sole purpose of
the internal SAFI values is to remove the gaps we have among the IANA
values, which would represent wasted memory in C arrays. With that said,
remove these reserved SAFIs to avoid further confusion in the future.
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'bgpd/bgp_updgrp_packet.c')
0 files changed, 0 insertions, 0 deletions