diff --git a/1006-udev-always-rename-network.patch b/1006-udev-always-rename-network.patch index 09a90668..eb98cc2f 100644 --- a/1006-udev-always-rename-network.patch +++ b/1006-udev-always-rename-network.patch @@ -9,20 +9,13 @@ Date: Tue, 4 Mar 2014 10:29:21 +0000 Port the patch of Robert to systemd v210 and test it out. --- - udev-event.c | 43 +++++++++++++++++++++++++++++++++++++++---- - 1 file changed, 39 insertions(+), 4 deletions(-) + udev-event.c | 42 ++++++++++++++++++++++++++++++++++++++---- + 1 file changed, 38 insertions(+), 4 deletions(-) + --- systemd-210/src/udev/udev-event.c +++ systemd-210/src/udev/udev-event.c 2014-03-27 13:19:06.727748307 +0000 -@@ -30,6 +30,7 @@ - #include - #include - #include -+#include - - #include "udev.h" - #include "rtnl-util.h" -@@ -750,8 +751,9 @@ static int rename_netif(struct udev_even +@@ -750,8 +750,9 @@ static int rename_netif(struct udev_even struct udev_device *dev = event->dev; _cleanup_rtnl_unref_ sd_rtnl *rtnl = NULL; char name[IFNAMSIZ]; @@ -33,7 +26,7 @@ Port the patch of Robert to systemd v210 and test it out. oldname = udev_device_get_sysname(dev); -@@ -765,12 +767,45 @@ static int rename_netif(struct udev_even +@@ -765,12 +766,45 @@ static int rename_netif(struct udev_even return r; r = rtnl_set_link_name(rtnl, udev_device_get_ifindex(dev), name);