summaryrefslogtreecommitdiffstats
path: root/isisd/isisd.h
diff options
context:
space:
mode:
authorIgor Ryzhov <iryzhov@nfware.com>2021-04-29 00:59:56 +0200
committerIgor Ryzhov <iryzhov@nfware.com>2021-04-29 16:05:21 +0200
commitec62fbaa07998df71a0bfce4a0383556bb604521 (patch)
tree830da6519ffef5e5c44ebf07ff32485bd8d9c3c8 /isisd/isisd.h
parentisisd: allow arbitrary order of area/interface configuration (diff)
downloadfrr-ec62fbaa07998df71a0bfce4a0383556bb604521.tar.xz
frr-ec62fbaa07998df71a0bfce4a0383556bb604521.zip
isisd: fix ldp-sync configuration
YANG model and CLI commands allow user to configure LDP-sync per area. But the actual implementation is incorrect - all commands are changing the config for the whole VRF instead of a single area. This commit fixes this issue by actually implementing per area configuration. Fixes #8578. Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
Diffstat (limited to 'isisd/isisd.h')
-rw-r--r--isisd/isisd.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/isisd/isisd.h b/isisd/isisd.h
index 79717b0cb..9d0b57e9f 100644
--- a/isisd/isisd.h
+++ b/isisd/isisd.h
@@ -97,7 +97,6 @@ struct isis {
int snmp_notifications;
struct route_table *ext_info[REDIST_PROTOCOL_COUNT];
- struct ldp_sync_info_cmd ldp_sync_cmd; /* MPLS LDP-IGP Sync */
};
extern struct isis_master *im;
@@ -209,6 +208,8 @@ struct isis_area {
struct prefix_list *rlfa_plist[ISIS_LEVELS];
size_t rlfa_protected_links[ISIS_LEVELS];
size_t tilfa_protected_links[ISIS_LEVELS];
+ /* MPLS LDP-IGP Sync */
+ struct ldp_sync_info_cmd ldp_sync_cmd;
/* Counters */
uint32_t circuit_state_changes;
struct isis_redist redist_settings[REDIST_PROTOCOL_COUNT]