]> git.puffer.fish Git - mirror/frr.git/commit
zebra: fix wrong gateway for fpm debug 12537/head
authoranlan_cs <vic.lan@pica8.com>
Sat, 17 Dec 2022 08:25:56 +0000 (16:25 +0800)
committeranlan_cs <vic.lan@pica8.com>
Sat, 17 Dec 2022 11:20:30 +0000 (19:20 +0800)
commit278749cad96931ac123947c88b6d12478b68bc41
tree4769f96d94815e50502731b55e4e2926f8dc62c3
parent17cb0eaa0919a01c5edb62c5e205279ac1122c24
zebra: fix wrong gateway for fpm debug

The wrong parameter is passed in `inet_ntop()` of `zfpm_log_route_info()` in
old fpm module, so the display of gateway is always wrong. Just remove
that extra ampersand.

Additionally, use "none" as gateway value for the case of no gateway.

Signed-off-by: anlan_cs <vic.lan@pica8.com>
zebra/zebra_fpm_netlink.c