network: do not trigger assertion when link_get_by_index() called with an invalid...
authorYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 11 Dec 2023 16:27:09 +0000 (01:27 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 14 Dec 2023 09:57:43 +0000 (18:57 +0900)
commitc2aed128369218eb280faade3209be99c5de5eb1
tree7e9788996ae68a154dffd4c15ec8e617f12b95bd
parent3d11b46bf72d85f1305876140a560e1e4be628db
network: do not trigger assertion when link_get_by_index() called with an invalid ifindex

Should not change any behavior. Preparation for later commit.
src/network/networkd-link.c