chiark / gitweb /
path-util: fix path_is_mount_point() for symlinks
[elogind.git] / src / network / networkd-netdev-vlan.c
index 13c44567331565cdf72841697109ed8c9785c976..0ed024b41d444205e345715c8a5adbf987d2c1b9 100644 (file)
@@ -22,8 +22,6 @@
 #include <net/if.h>
 
 #include "networkd-netdev-vlan.h"
-#include "network-internal.h"
-#include "list.h"
 
 static int netdev_vlan_fill_message_create(NetDev *netdev, Link *link, sd_rtnl_message *req) {
         VLan *v = VLAN(netdev);
@@ -37,7 +35,7 @@ static int netdev_vlan_fill_message_create(NetDev *netdev, Link *link, sd_rtnl_m
         if (v->id <= VLANID_MAX) {
                 r = sd_rtnl_message_append_u16(req, IFLA_VLAN_ID, v->id);
                 if (r < 0) {
-                        log_error_netdev(netdev,
+                        log_netdev_error(netdev,
                                          "Could not append IFLA_VLAN_ID attribute: %s",
                                          strerror(-r));
                         return r;