summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_routemap.c
diff options
context:
space:
mode:
Diffstat (limited to 'bgpd/bgp_routemap.c')
-rw-r--r--bgpd/bgp_routemap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgp_routemap.c b/bgpd/bgp_routemap.c
index 0b22caaee..c2062a5f6 100644
--- a/bgpd/bgp_routemap.c
+++ b/bgpd/bgp_routemap.c
@@ -434,7 +434,7 @@ route_match_script(void *rule, const struct prefix *prefix, void *object)
break;
}
- frrscript_unload(fs);
+ frrscript_delete(fs);
return status;
}