the ifp pointer cannot be NULL when we get to this point
in the code.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
}
/* check if the interface is a loopback and if so set it as passive */
- if (ifp && if_is_loopback(ifp))
+ if (if_is_loopback(ifp))
nb_cli_enqueue_change(vty, "./frr-isisd:isis/passive",
NB_OP_MODIFY, "true");
}
/* check if the interface is a loopback and if so set it as passive */
- if (ifp && if_is_loopback(ifp))
+ if (if_is_loopback(ifp))
nb_cli_enqueue_change(vty, "./frr-isisd:isis/passive",
NB_OP_MODIFY, "true");