diff options
| -rw-r--r-- | lib/plist.c | 4 | 
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/plist.c b/lib/plist.c index 618d92b549..3fc8e2a1ff 100644 --- a/lib/plist.c +++ b/lib/plist.c @@ -1140,8 +1140,10 @@ static int vty_show_prefix_list_prefix(struct vty *vty, afi_t afi,  		match = 0;  		if (type == normal_display || type == first_match_display) -			if (prefix_same(&p, &pentry->prefix)) +			if (prefix_list_entry_match(pentry, &p, false)) { +				pentry->hitcnt++;  				match = 1; +			}  		if (type == longer_display) {  			if ((p.family == pentry->prefix.family)  | 
