diff options
Diffstat (limited to '')
-rw-r--r-- | ospfd/ospf_opaque.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/ospfd/ospf_opaque.c b/ospfd/ospf_opaque.c index e43314779..56efa2ebd 100644 --- a/ospfd/ospf_opaque.c +++ b/ospfd/ospf_opaque.c @@ -771,9 +771,6 @@ DEFUN (capability_opaque, { VTY_DECLVAR_CONTEXT(ospf, ospf); - if (!ospf) - return CMD_SUCCESS; - /* Turn on the "master switch" of opaque-lsa capability. */ if (!CHECK_FLAG (ospf->config, OSPF_OPAQUE_CAPABLE)) { @@ -804,9 +801,6 @@ DEFUN (no_capability_opaque, { VTY_DECLVAR_CONTEXT(ospf, ospf); - if (!ospf) - return CMD_SUCCESS; - /* Turn off the "master switch" of opaque-lsa capability. */ if (CHECK_FLAG (ospf->config, OSPF_OPAQUE_CAPABLE)) { |