struct ospf *ospf = vty->index;
unsigned int interval;
+ if (!ospf)
+ return CMD_SUCCESS;
+
if (argc != 1)
{
vty_out (vty, "Insufficient arguments%s", VTY_NEWLINE);
struct ospf *ospf = vty->index;
unsigned int arrival;
+ if (!ospf)
+ return CMD_SUCCESS;
+
if (argc != 1)
{
vty_out (vty, "Insufficient arguments%s", VTY_NEWLINE);
"OSPF minimum arrival interval delay\n")
{
struct ospf *ospf = vty->index;
+
+ if (!ospf)
+ return CMD_SUCCESS;
+
ospf->min_ls_arrival = OSPF_MIN_LS_ARRIVAL;
return CMD_SUCCESS;
int metric = -1;
struct ospf_redist *red;
+ if (!ospf)
+ return CMD_SUCCESS;
+
if (argc < 4)
return CMD_WARNING; /* should not happen */
u_short instance;
struct ospf_redist *red;
+ if (!ospf)
+ return CMD_SUCCESS;
+
if (strncmp(argv[0], "o", 1) == 0)
source = ZEBRA_ROUTE_OSPF;
else
{
struct ospf *ospf = vty->index;
+ if (!ospf)
+ return CMD_SUCCESS;
+
if (argc < 3)
return CMD_WARNING;
{
struct ospf *ospf = vty->index;
+ if (!ospf)
+ return CMD_SUCCESS;
+
if (argc < 3) /* should not happen */
return CMD_WARNING;