network: add missing link->network checks
authorYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 17 Sep 2019 12:29:23 +0000 (21:29 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 17 Sep 2019 12:29:35 +0000 (21:29 +0900)
commitb1b0b42e48303134731e017a108c6c334ef5f4c8
treee6fe2c4dff56c7c7aa4e9b4bdfd3c842a66ed839
parent69cebea78a07f67436108323138356f99bb69d33
network: add missing link->network checks

When the function is called, no network file may be assigned to the
link.
src/network/networkd-link.c