diff options
author | Rafael Zalamena <rzalamena@opensourcerouting.org> | 2019-07-09 18:41:08 +0200 |
---|---|---|
committer | Rafael Zalamena <rzalamena@opensourcerouting.org> | 2019-07-09 18:41:08 +0200 |
commit | 98ec2b3e402d5fae7955aa1cb53b5c7756ab65d4 (patch) | |
tree | 3be7641d25158eacdbe6a389453bd7dd18467e89 | |
parent | isisd: migrate BFD command to northbound (diff) | |
download | frr-98ec2b3e402d5fae7955aa1cb53b5c7756ab65d4.tar.xz frr-98ec2b3e402d5fae7955aa1cb53b5c7756ab65d4.zip |
isisd: fix compilation warning on OpenBSD
Use different declaration style to fix compilation warning on OpenBSD.
Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
-rw-r--r-- | isisd/isis_northbound.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/isisd/isis_northbound.c b/isisd/isis_northbound.c index a4869db1e..d596aecc1 100644 --- a/isisd/isis_northbound.c +++ b/isisd/isis_northbound.c @@ -3251,8 +3251,10 @@ const struct frr_yang_module_info frr_isisd_info = { }, { .xpath = "/frr-interface:lib/interface/frr-isisd:isis/bfd-monitoring", - .cbs.modify = lib_interface_isis_bfd_monitoring_modify, - .cbs.cli_show = cli_show_ip_isis_bfd_monitoring, + .cbs = { + .modify = lib_interface_isis_bfd_monitoring_modify, + .cli_show = cli_show_ip_isis_bfd_monitoring, + } }, { .xpath = "/frr-interface:lib/interface/frr-isisd:isis/csnp-interval", |