diff options
| author | Renato Westphal <renato@opensourcerouting.org> | 2017-03-25 20:52:42 -0300 |
|---|---|---|
| committer | Renato Westphal <renato@opensourcerouting.org> | 2017-03-27 14:54:57 -0300 |
| commit | 52bd4c2321f49bec42ca466f5c395e78e6d7acc6 (patch) | |
| tree | 746c60dc4b39bd502d34e231b3e2c58250633d3a /lib/pqueue.h | |
| parent | dbce358222e5483140389795f790cfabd93808e1 (diff) | |
ldpd: remove a few unnecessary functions
The original ldpd(8) daemon in OpenBSD doesn't allow the user to put
non-existing interfaces in the configuration file. For this reason,
the l2vpn_if_find() and l2vpn_pw_find() functions take an ifindex as
an argument. In FRR's ldpd we can put non-existing interfaces in the
configuration, and they are activated as soon as they are available. For
this reason, we can't lookup interfaces by their ifindex in this port.
The l2vpn_if_find_name() and l2vpn_pw_find_name() functions were
introduced to address this issue. However, since the "find-by-ifindex"
functions are not being used anymore, we can just remove them and rename
the *_find_name() functions removing the "_name" suffix.
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'lib/pqueue.h')
0 files changed, 0 insertions, 0 deletions
