diff options
author | Susant Sahani <ssahani@redhat.com> | 2019-04-30 09:36:10 +0200 |
---|---|---|
committer | Susant Sahani <ssahani@redhat.com> | 2019-04-30 09:36:10 +0200 |
commit | f143c650a35b9f04e25ac58a838a825ab42a955e (patch) | |
tree | a045ac94f364aa05ef1f185996ce4fb928dad9d7 | |
parent | Merge pull request #12428 from jwrdegoede/hwdb-logitech-kbds (diff) | |
download | systemd-f143c650a35b9f04e25ac58a838a825ab42a955e.tar.xz systemd-f143c650a35b9f04e25ac58a838a825ab42a955e.zip |
netword: fdb fix coding style
-rw-r--r-- | src/network/networkd-fdb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/networkd-fdb.c b/src/network/networkd-fdb.c index fa13949538..1934bc66eb 100644 --- a/src/network/networkd-fdb.c +++ b/src/network/networkd-fdb.c @@ -139,7 +139,7 @@ int fdb_entry_configure(Link *link, FdbEntry *fdb_entry) { return rtnl_log_create_error(r); /* VLAN Id is optional. We'll add VLAN Id only if it's specified. */ - if (0 != fdb_entry->vlan_id) { + if (fdb_entry->vlan_id > 0) { r = sd_netlink_message_append_u16(req, NDA_VLAN, fdb_entry->vlan_id); if (r < 0) return rtnl_log_create_error(r); |