]> git.puffer.fish Git - mirror/frr.git/commit
lib: set type for newly created interfaces 9793/head
authorIgor Ryzhov <iryzhov@nfware.com>
Fri, 8 Oct 2021 21:22:31 +0000 (00:22 +0300)
committermergify-bot <noreply@mergify.io>
Mon, 11 Oct 2021 12:58:10 +0000 (12:58 +0000)
commitd3f334f5cc6ee93e978d873809eff1411eeb49e6
tree3bcc1a85f28fd226a14894fbfb1f366847c3852c
parent931f3fc2fdac52b7aaaccdf5a29f9a0d54f48900
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>
(cherry picked from commit 8975bbbdd6885b8a99be4893291a82150c254452)
zebra/if_netlink.c