summaryrefslogtreecommitdiff
path: root/ldpd/ldp_vty.h
diff options
context:
space:
mode:
authorlynne <lynne@voltanet.io>2021-04-27 12:21:54 -0400
committerlynne <lynne@voltanet.io>2021-05-03 09:02:36 -0400
commitff5279ba48f2ff388e2345e118732e5b27f5a791 (patch)
tree359bcf5c82ba0e548c36ec9f7371a79271dd71e4 /ldpd/ldp_vty.h
parentadf1bb9f0cad57686ea5c112b9024389b95edf8e (diff)
ldpd: make allowing broken-lsps to be installed with pop operation configurable
If LDP is miss configured in a setup and the router has LSPs with no remote label, this code installs the LSP with a pop instruction of the top-level label so the packet can be forwarded using IP. This is a best-effort attempt to deliver labeled IP packets to their final destination instead of dropping them. If this config is turned off the code will only install LSPs that have a valid remote label. Signed-off-by: Lynne Morrison <lynne@voltanet.io>
Diffstat (limited to 'ldpd/ldp_vty.h')
-rw-r--r--ldpd/ldp_vty.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ldpd/ldp_vty.h b/ldpd/ldp_vty.h
index 882874f1be..d788fa0687 100644
--- a/ldpd/ldp_vty.h
+++ b/ldpd/ldp_vty.h
@@ -34,6 +34,7 @@ extern struct cmd_node ldp_debug_node;
union ldpd_addr;
int ldp_get_address(const char *, int *, union ldpd_addr *);
int ldp_vty_mpls_ldp (struct vty *, const char *);
+int ldp_vty_allow_broken_lsp(struct vty *, const char *);
int ldp_vty_address_family (struct vty *, const char *, const char *);
int ldp_vty_disc_holdtime(struct vty *, const char *, enum hello_type, long);
int ldp_vty_disc_interval(struct vty *, const char *, enum hello_type, long);