diff options
| author | Donald Lee <dlqs@gmx.com> | 2021-07-08 17:51:14 +0800 |
|---|---|---|
| committer | Donald Lee <dlqs@gmx.com> | 2021-07-18 06:32:03 +0800 |
| commit | 64d457d7ac22d643afb5638bacb0b9713274689e (patch) | |
| tree | 1ecc21f377cd98abb7d69b66f3bad4c6e90b95ad /lib/frrscript.c | |
| parent | 8a04c1e74e0a21d34a626c378a80c3d5b6302971 (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/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 8252455fd9..b3f8a9f6f5 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); |
