diff options
author | Emanuele Di Pascale <emanuele@voltanet.io> | 2020-05-19 18:04:39 +0200 |
---|---|---|
committer | Emanuele Di Pascale <emanuele@voltanet.io> | 2020-05-19 18:56:30 +0200 |
commit | 89cf2f209680da6a2331c49accdc0158a56a304a (patch) | |
tree | e45de097650d64eae138f37bc3dad489614ae78c /isisd | |
parent | Merge pull request #6389 from mjstapp/fix_recursive_label_type (diff) | |
download | frr-89cf2f209680da6a2331c49accdc0158a56a304a.tar.xz frr-89cf2f209680da6a2331c49accdc0158a56a304a.zip |
isisd: set TE link params on circuit creation
if mpls-te is enabled in the area, on creating a circuit we
must refresh the link params - else interfaces that are enabled
for IS-IS after configuring 'mpls-te on' will not correctly
advertise link parameters.
Signed-off-by: Emanuele Di Pascale <emanuele@voltanet.io>
Diffstat (limited to 'isisd')
-rw-r--r-- | isisd/isis_circuit.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/isisd/isis_circuit.c b/isisd/isis_circuit.c index 39118a2c8..1f76a3b2b 100644 --- a/isisd/isis_circuit.c +++ b/isisd/isis_circuit.c @@ -1223,6 +1223,8 @@ struct isis_circuit *isis_circuit_create(struct isis_area *area, if (circuit->state != C_STATE_CONF && circuit->state != C_STATE_UP) return circuit; isis_circuit_if_bind(circuit, ifp); + if (circuit->area->mta && circuit->area->mta->status) + isis_link_params_update(circuit, ifp); return circuit; } |