summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_vty.c
diff options
context:
space:
mode:
Diffstat (limited to 'bgpd/bgp_vty.c')
-rw-r--r--bgpd/bgp_vty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgp_vty.c b/bgpd/bgp_vty.c
index 2cf7240ba..12ec11e89 100644
--- a/bgpd/bgp_vty.c
+++ b/bgpd/bgp_vty.c
@@ -4769,7 +4769,7 @@ peer_timers_unset_vty (struct vty *vty, const char *ip_str)
int ret;
struct peer *peer;
- peer = peer_lookup_vty (vty, ip_str);
+ peer = peer_and_group_lookup_vty (vty, ip_str);
if (! peer)
return CMD_WARNING;