summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2019-01-07 09:26:38 -0500
committerGitHub <noreply@github.com>2019-01-07 09:26:38 -0500
commitd20bd5a34cd7613c44a2abc13a9d607929f93365 (patch)
tree985d852aee10f1a950bcd2a1eeda1ff5b366fda3
parentd419965766b463b89eb480616a99633e7f438e42 (diff)
parent2e29ab9cce6539a5dcccf4c5768a6f0799387d73 (diff)
Merge pull request #3572 from manuhalo/fix_isisd_p2p
isisd: fix point-to-point network type config
-rw-r--r--isisd/isis_northbound.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/isisd/isis_northbound.c b/isisd/isis_northbound.c
index a467282826..9c2bb1728e 100644
--- a/isisd/isis_northbound.c
+++ b/isisd/isis_northbound.c
@@ -1982,11 +1982,10 @@ static int lib_interface_isis_network_type_modify(enum nb_event event,
circuit = yang_dnode_get_entry(dnode, false);
if (!circuit)
break;
- if (circuit->circ_type == CIRCUIT_T_LOOPBACK
- || circuit->circ_type == CIRCUIT_T_UNKNOWN) {
+ if (circuit->circ_type == CIRCUIT_T_LOOPBACK) {
flog_warn(
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;
}
if (net_type == CIRCUIT_T_BROADCAST