mirror_frr/staticd
Igor Ryzhov 5dfa36b6a7 staticd: fix nexthops without interface
When interface is not set in "ip route" command, CLI passes "(null)" as
an interface name instead of an empty string. The actual code in turn
uses "nh->ifname[0] != 0" to check if the interface name was set. Fix
the problem by changing the "(null)" string into an empty string when
populating the nexthop structure.

Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
2024-02-02 00:25:15 +02:00
..
.gitignore staticd: Start the addition of a staticd 2018-07-29 12:37:24 -04:00
Makefile staticd: Start the addition of a staticd 2018-07-29 12:37:24 -04:00
static_bfd.c lib: all: remove './' from xpath 22% speedup 2023-11-29 14:37:23 -05:00
static_debug.c *: auto-convert to SPDX License IDs 2023-02-09 14:09:11 +01:00
static_debug.h *: auto-convert to SPDX License IDs 2023-02-09 14:09:11 +01:00
static_main.c *: create a single registry of daemons' default port values 2024-02-01 11:40:02 -05:00
static_nb_config.c staticd: fix nexthops without interface 2024-02-02 00:25:15 +02:00
static_nb.c mgmtd, staticd: output staticd configuration from mgmtd 2023-11-21 13:28:40 +02:00
static_nb.h ripd: ripd convert to mgmtd 2024-01-26 12:34:46 -05:00
static_nht.c *: auto-convert to SPDX License IDs 2023-02-09 14:09:11 +01:00
static_nht.h *: auto-convert to SPDX License IDs 2023-02-09 14:09:11 +01:00
static_routes.c mgmtd: Enroll Staticd as a backend client for MGMTD 2023-03-21 22:09:07 -04:00
static_routes.h *: Let's use the native IFNAMSIZ instead of INTERFACE_NAMSIZ 2023-11-21 08:08:29 -05:00
static_vrf.c mgmtd, staticd: output staticd configuration from mgmtd 2023-11-21 13:28:40 +02:00
static_vrf.h *: auto-convert to SPDX License IDs 2023-02-09 14:09:11 +01:00
static_vty.c Revert "staticd: Accept full blackhole typed keywords for ip_route_cmd" 2024-02-02 00:25:15 +02:00
static_vty.h mgmtd, staticd: output staticd configuration from mgmtd 2023-11-21 13:28:40 +02:00
static_zebra.c staticd: replace receive_notify with request 2023-11-23 14:59:09 +01:00
static_zebra.h *: Convert struct event_master to struct event_loop 2023-03-24 08:32:17 -04:00
subdir.am isisd: staticd: need to link directly against libyang 2023-10-26 22:53:44 -04:00