mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-27 03:33:43 +00:00
Merge pull request #3572 from manuhalo/fix_isisd_p2p
isisd: fix point-to-point network type config
This commit is contained in:
commit
d20bd5a34c
@ -1982,11 +1982,10 @@ static int lib_interface_isis_network_type_modify(enum nb_event event,
|
|||||||
circuit = yang_dnode_get_entry(dnode, false);
|
circuit = yang_dnode_get_entry(dnode, false);
|
||||||
if (!circuit)
|
if (!circuit)
|
||||||
break;
|
break;
|
||||||
if (circuit->circ_type == CIRCUIT_T_LOOPBACK
|
if (circuit->circ_type == CIRCUIT_T_LOOPBACK) {
|
||||||
|| circuit->circ_type == CIRCUIT_T_UNKNOWN) {
|
|
||||||
flog_warn(
|
flog_warn(
|
||||||
EC_LIB_NB_CB_CONFIG_VALIDATE,
|
EC_LIB_NB_CB_CONFIG_VALIDATE,
|
||||||
"Cannot change network type on unknown or loopback interface");
|
"Cannot change network type on loopback interface");
|
||||||
return NB_ERR_VALIDATION;
|
return NB_ERR_VALIDATION;
|
||||||
}
|
}
|
||||||
if (net_type == CIRCUIT_T_BROADCAST
|
if (net_type == CIRCUIT_T_BROADCAST
|
||||||
|
Loading…
Reference in New Issue
Block a user