Skip to content

Commit

Permalink
Merge pull request #1599 from chiragshah6/mdev
Browse files Browse the repository at this point in the history
ospfd: Fix no passive interface command parsing
  • Loading branch information
Jafaral authored Jan 8, 2018
2 parents 76724ed + 9a0dfa3 commit 4060fcc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ospfd/ospf_vty.c
Original file line number Diff line number Diff line change
Expand Up @@ -534,11 +534,11 @@ DEFUN (no_ospf_passive_interface,
}

if (ospf->vrf_id != VRF_UNKNOWN)
ifp = if_get_by_name(argv[1]->arg, ospf->vrf_id, 0);
ifp = if_get_by_name(argv[2]->arg, ospf->vrf_id, 0);

if (ifp == NULL) {
vty_out(vty, "interface %s not found.\n",
(char *)argv[1]->arg);
(char *)argv[2]->arg);
return CMD_WARNING_CONFIG_FAILED;
}

Expand Down

0 comments on commit 4060fcc

Please sign in to comment.