diff options
author | Donald Sharp <sharpd@nvidia.com> | 2021-06-22 18:44:24 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@nvidia.com> | 2021-06-22 19:03:00 +0200 |
commit | 1d88e63a4e3d29cec6f49602e3263f13a8de3d1e (patch) | |
tree | 1451c86b4f8e9605dd0966db076d435fb31abce1 /isisd/isisd.h | |
parent | isisd: already checked for NULL (diff) | |
download | frr-1d88e63a4e3d29cec6f49602e3263f13a8de3d1e.tar.xz frr-1d88e63a4e3d29cec6f49602e3263f13a8de3d1e.zip |
isisd: using argv as a string name is categorically wrong
We are passing around the system id using the variable name
of `argv`. Let's name the variable correctly and pass it around
correctly named.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'isisd/isisd.h')
-rw-r--r-- | isisd/isisd.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/isisd/isisd.h b/isisd/isisd.h index b2c9af55b..60dcf066d 100644 --- a/isisd/isisd.h +++ b/isisd/isisd.h @@ -274,8 +274,8 @@ void isis_area_destroy(struct isis_area *area); void isis_filter_update(struct access_list *access); void isis_prefix_list_update(struct prefix_list *plist); void print_debug(struct vty *, int, int); -struct isis_lsp *lsp_for_arg(struct lspdb_head *head, const char *argv, - struct isis *isis); +struct isis_lsp *lsp_for_sysid(struct lspdb_head *head, const char *sysid_str, + struct isis *isis); void isis_area_invalidate_routes(struct isis_area *area, int levels); void isis_area_verify_routes(struct isis_area *area); |