diff options
Diffstat (limited to 'bgpd/bgp_aspath.c')
-rw-r--r-- | bgpd/bgp_aspath.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bgpd/bgp_aspath.c b/bgpd/bgp_aspath.c index 6b7fedd5..5227a1a6 100644 --- a/bgpd/bgp_aspath.c +++ b/bgpd/bgp_aspath.c @@ -333,8 +333,7 @@ aspath_unintern (struct aspath **aspath) struct aspath *ret; struct aspath *asp = *aspath; - if (asp->refcnt) - asp->refcnt--; + asp->refcnt--; if (asp->refcnt == 0) { |