system-linux: only parse device status for AF_UNSPEC link messages master
authorFelix Fietkau <[email protected]>
Mon, 20 Oct 2025 21:35:20 +0000 (21:35 +0000)
committerFelix Fietkau <[email protected]>
Mon, 20 Oct 2025 21:37:36 +0000 (23:37 +0200)
commit777f5942fa7d6245f6ad29daa1daecc400344d37
treec8aa6850be92770f828225fd59ece4e2dcab0765
parentb6d371f307705b32e1ef5c63d7bf6440c8859789
system-linux: only parse device status for AF_UNSPEC link messages

In bridge messages (family = AF_BRIDGE), the commands are the same, but the
contents are different, and this can confuse netifd into thinking that devices
are down, while they are actually up.

Signed-off-by: Felix Fietkau <[email protected]>
system-linux.c