summaryrefslogtreecommitdiff
path: root/doc/code
diff options
context:
space:
mode:
authorRenato Westphal <renato@opensourcerouting.org>2017-07-31 21:09:01 -0300
committerRenato Westphal <renato@opensourcerouting.org>2017-07-31 23:38:38 -0300
commita08ca0a7e101cbc44fc9300520bd0ab6a2c9b784 (patch)
treefc7a96bba33abeb7fb0f249837931efa05e0b8c1 /doc/code
parent84d5286a9f0e66a6f8264a33818ec173db5ceee7 (diff)
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 'doc/code')
0 files changed, 0 insertions, 0 deletions