diff options
author | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2021-01-06 14:44:23 +0100 |
---|---|---|
committer | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2021-01-06 14:44:23 +0100 |
commit | 4155104c90bc2f3fb680e8041e079ceb3d80a3b1 (patch) | |
tree | cc5d40022f46da2baf98b2cff9105889c10c818b /proto/bgp/bgp.c | |
parent | 21f9acd2a01306af01f19914105985a8a0f9bcba (diff) |
BGP: Deprecate 'missing lladdr' option
The option is not implemented since transition to 2.0 and no plan to add it.
Also remove some deprecated RTS_* valus from documentation.
Thanks to Sébastien Parisot for notification.
Diffstat (limited to 'proto/bgp/bgp.c')
-rw-r--r-- | proto/bgp/bgp.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/proto/bgp/bgp.c b/proto/bgp/bgp.c index b34dc325..302d026c 100644 --- a/proto/bgp/bgp.c +++ b/proto/bgp/bgp.c @@ -1986,10 +1986,6 @@ bgp_postconfig(struct proto_config *CF) if (cc->next_hop_keep == 0xff) cc->next_hop_keep = cf->rr_client ? NH_IBGP : (cf->rs_client ? NH_ALL : NH_NO); - /* Different default based on rs_client */ - if (!cc->missing_lladdr) - cc->missing_lladdr = cf->rs_client ? MLL_IGNORE : MLL_SELF; - /* Different default for gw_mode */ if (!cc->gw_mode) cc->gw_mode = cf->multihop ? GW_RECURSIVE : GW_DIRECT; @@ -2131,7 +2127,6 @@ bgp_channel_reconfigure(struct channel *C, struct channel_config *CC, int *impor if (!ipa_equal(new->next_hop_addr, old->next_hop_addr) || (new->next_hop_self != old->next_hop_self) || (new->next_hop_keep != old->next_hop_keep) || - (new->missing_lladdr != old->missing_lladdr) || (new->aigp != old->aigp) || (new->aigp_originate != old->aigp_originate)) *export_changed = 1; |