diff options
author | Donald Lee <dlqs@gmx.com> | 2021-07-08 11:51:14 +0200 |
---|---|---|
committer | Donald Lee <dlqs@gmx.com> | 2021-07-18 00:32:03 +0200 |
commit | 64d457d7ac22d643afb5638bacb0b9713274689e (patch) | |
tree | 1ecc21f377cd98abb7d69b66f3bad4c6e90b95ad /lib/frrscript.c | |
parent | tests: Add more examples to get_result (diff) | |
download | frr-64d457d7ac22d643afb5638bacb0b9713274689e.tar.xz frr-64d457d7ac22d643afb5638bacb0b9713274689e.zip |
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/frrscript.c')
-rw-r--r-- | lib/frrscript.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/frrscript.c b/lib/frrscript.c index 8252455fd..b3f8a9f6f 100644 --- a/lib/frrscript.c +++ b/lib/frrscript.c @@ -319,7 +319,7 @@ fail: return 1; } -void frrscript_unload(struct frrscript *fs) +void frrscript_delete(struct frrscript *fs) { hash_iterate(fs->lua_function_hash, lua_function_free, NULL); XFREE(MTYPE_SCRIPT, fs->name); |