]> git.puffer.fish Git - mirror/frr.git/commit
lib: set type for newly created interfaces 9794/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:23 +0000 (12:58 +0000)
commit8a8125f63f879758b46249fca2775cc59fc18f6d
treead4611546e2e93e40274dc913ebbb3e9ec73366f
parent346e7d61d64c2247d7766a9efdac55a4e4dc3452
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