diff options
| author | Marcel Röthke <marcel.roethke@haw-hamburg.de> | 2019-02-07 17:16:19 +0100 | 
|---|---|---|
| committer | David Lamparter <equinox@opensourcerouting.org> | 2019-02-07 18:45:10 +0100 | 
| commit | 266bca83331ac76ec5b98f040bc4d4088d851322 (patch) | |
| tree | 2c597c3239b12dc14d23f7cf104f32b679d6c585 /bgpd | |
| parent | be22e8fd64b6aca91af7cb88707d9413e9853d9b (diff) | |
bgpd: fix crash when trying to remove non-existing rpki cache
Signed-off-by: Marcel Röthke <marcel.roethke@haw-hamburg.de>
Diffstat (limited to 'bgpd')
| -rw-r--r-- | bgpd/bgp_rpki.c | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgp_rpki.c b/bgpd/bgp_rpki.c index b2e7f04ece..a38d78916c 100644 --- a/bgpd/bgp_rpki.c +++ b/bgpd/bgp_rpki.c @@ -1134,7 +1134,7 @@ DEFPY (no_rpki_cache,  {  	struct cache *cache_p = find_cache(preference); -	if (!cache) { +	if (!cache_p) {  		vty_out(vty, "Could not find cache %ld\n", preference);  		return CMD_WARNING;  	}  | 
