diff options
| author | Igor Ryzhov <iryzhov@nfware.com> | 2021-06-29 11:54:39 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-06-29 11:54:39 +0300 |
| commit | ba88ced84c6f57f6b981d6abcdb8dd4d1558ed87 (patch) | |
| tree | 24dd56067b026a2747ec9282e9908666ad0445ec /ospf6d/ospf6_interface.c | |
| parent | 7702d0b720114a33804068c0bd54fdb2f3530dad (diff) | |
| parent | f71ed6df3e1cc7b1fc0b2e1c8ba3c5ec9c16d89f (diff) | |
Merge pull request #8835 from ranjanyash54/clear_process
ospf6d: "clear ipv6 ospf6 process" command
Diffstat (limited to 'ospf6d/ospf6_interface.c')
| -rw-r--r-- | ospf6d/ospf6_interface.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ospf6d/ospf6_interface.c b/ospf6d/ospf6_interface.c index 553967e2e3..1e75fc60f6 100644 --- a/ospf6d/ospf6_interface.c +++ b/ospf6d/ospf6_interface.c @@ -2695,7 +2695,7 @@ void ospf6_interface_init(void) } /* Clear the specified interface structure */ -static void ospf6_interface_clear(struct vty *vty, struct interface *ifp) +void ospf6_interface_clear(struct interface *ifp) { struct ospf6_interface *oi; @@ -2733,7 +2733,7 @@ DEFUN (clear_ipv6_ospf6_interface, if (argc == 4) /* Clear all the ospfv3 interfaces. */ { FOR_ALL_INTERFACES (vrf, ifp) - ospf6_interface_clear(vty, ifp); + ospf6_interface_clear(ifp); } else /* Interface name is specified. */ { if ((ifp = if_lookup_by_name(argv[idx_ifname]->arg, @@ -2743,7 +2743,7 @@ DEFUN (clear_ipv6_ospf6_interface, argv[idx_ifname]->arg); return CMD_WARNING; } - ospf6_interface_clear(vty, ifp); + ospf6_interface_clear(ifp); } return CMD_SUCCESS; |
