diff --git a/bgpd/bgp_vty.c b/bgpd/bgp_vty.c index 2cf7240ba0..12ec11e896 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;