]> git.proxmox.com Git - mirror_frr.git/commit
lib: set type for newly created interfaces
authorIgor Ryzhov <iryzhov@nfware.com>
Fri, 8 Oct 2021 21:22:31 +0000 (00:22 +0300)
committerIgor Ryzhov <iryzhov@nfware.com>
Fri, 8 Oct 2021 21:23:39 +0000 (00:23 +0300)
commit8975bbbdd6885b8a99be4893291a82150c254452
tree2adaf05d9d8bfe10d5573754911ad49a49b3048d
parentb1e27fbba4d79a1ae33b9c867749e7a27dde0b75
lib: set type for newly created interfaces

Currently, the ll_type is set only in `netlink_interface` which is
executed only during startup. If the interface is created when the FRR
is already running, the type is not stored.

Fixes #1164.

Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
zebra/if_netlink.c