diff options
author | Quentin Young <qlyoung@cumulusnetworks.com> | 2019-02-25 20:23:41 +0100 |
---|---|---|
committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2019-02-26 00:00:16 +0100 |
commit | 97b5d752d7af198d0b2881b5a3b2e61f2b4921e5 (patch) | |
tree | 1b29dd2d5a576a130532ebd349e66994ae196853 /isisd/isis_main.c | |
parent | *: remove unnecessary semicolon from switches (diff) | |
download | frr-97b5d752d7af198d0b2881b5a3b2e61f2b4921e5.tar.xz frr-97b5d752d7af198d0b2881b5a3b2e61f2b4921e5.zip |
*: use array_size instead of raw division
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'isisd/isis_main.c')
-rw-r--r-- | isisd/isis_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/isisd/isis_main.c b/isisd/isis_main.c index 9126e40d4..e74a9baad 100644 --- a/isisd/isis_main.c +++ b/isisd/isis_main.c @@ -80,7 +80,7 @@ struct zebra_privs_t isisd_privs = { .vty_group = VTY_GROUP, #endif .caps_p = _caps_p, - .cap_num_p = sizeof(_caps_p) / sizeof(*_caps_p), + .cap_num_p = array_size(_caps_p), .cap_num_i = 0}; /* isisd options */ |