Skip to content

Commit bfa91d6

Browse files
authored
Merge pull request systemd#4150 from ssahani/net1
networkd: trivial fixes
2 parents d903a89 + a4820c4 commit bfa91d6

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed

TODO

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -801,7 +801,6 @@ Features:
801801
- add reduced [Link] support to .network files
802802
- add Scope= parsing option for [Network]
803803
- properly handle routerless dhcp leases
804-
- add more attribute support for SIT tunnel
805804
- work with non-Ethernet devices
806805
- add support for more bond options
807806
- dhcp: do we allow configuring dhcp routes on interfaces that are not the one we got the dhcp info from?
@@ -818,7 +817,6 @@ Features:
818817
support Name=foo*|bar*|baz ?
819818
- duplicate address check for static IPs (like ARPCHECK in network-scripts)
820819
- allow DUID/IAID to be customized, see issue #394.
821-
- support configuration option for TSO (tcp segmentation offload)
822820
- whenever uplink info changes, make DHCP server send out FORCERENEW
823821

824822
* networkd-wait-online:

src/network/networkd-netdev.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@
3434
#include "string-util.h"
3535

3636
const NetDevVTable * const netdev_vtable[_NETDEV_KIND_MAX] = {
37-
3837
[NETDEV_KIND_BRIDGE] = &bridge_vtable,
3938
[NETDEV_KIND_BOND] = &bond_vtable,
4039
[NETDEV_KIND_VLAN] = &vlan_vtable,
@@ -516,7 +515,7 @@ static int netdev_create(NetDev *netdev, Link *link,
516515

517516
r = sd_netlink_message_close_container(m);
518517
if (r < 0)
519-
return log_netdev_error_errno(netdev, r, "Could not append IFLA_LINKINFO attribute: %m");
518+
return log_netdev_error_errno(netdev, r, "Could not append IFLA_INFO_DATA attribute: %m");
520519

521520
r = sd_netlink_message_close_container(m);
522521
if (r < 0)

src/network/networkd-network.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -482,7 +482,7 @@ int config_parse_netdev(const char *unit,
482482
case NETDEV_KIND_VCAN:
483483
r = hashmap_put(network->stacked_netdevs, netdev->ifname, netdev);
484484
if (r < 0) {
485-
log_syntax(unit, LOG_ERR, filename, line, r, "Can not add VLAN '%s' to network: %m", rvalue);
485+
log_syntax(unit, LOG_ERR, filename, line, r, "Can not add NetDev '%s' to network: %m", rvalue);
486486
return 0;
487487
}
488488

0 commit comments

Comments
 (0)