summaryrefslogtreecommitdiff
path: root/lib/command.c
diff options
context:
space:
mode:
authorDonald Lee <dlqs@gmx.com>2021-07-08 17:51:14 +0800
committerDonald Lee <dlqs@gmx.com>2021-07-18 06:32:03 +0800
commit64d457d7ac22d643afb5638bacb0b9713274689e (patch)
tree1ecc21f377cd98abb7d69b66f3bad4c6e90b95ad /lib/command.c
parent8a04c1e74e0a21d34a626c378a80c3d5b6302971 (diff)
lib: Rename frrscript_unload to delete
frrscript_load now loads a function instead of a file, so frrscript_unload should be renamed since it does not unload a function. Signed-off-by: Donald Lee <dlqs@gmx.com>
Diffstat (limited to 'lib/command.c')
-rw-r--r--lib/command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/command.c b/lib/command.c
index 7808f57594..ceea186a9d 100644
--- a/lib/command.c
+++ b/lib/command.c
@@ -2443,7 +2443,7 @@ DEFUN(script,
vty_out(vty, "p: %s\n", buf);
vty_out(vty, "Script result: %d\n", ret);
- frrscript_unload(fs);
+ frrscript_delete(fs);
return CMD_SUCCESS;
}