daandemeyer / rpms / systemd

Forked from rpms/systemd 2 years ago
Clone
ff6046
From ab0228c3d6ceba20cf89ceb1b16b7e314aaaf989 Mon Sep 17 00:00:00 2001
ff6046
From: Michal Sekletar <msekleta@redhat.com>
ff6046
Date: Tue, 7 Aug 2018 10:38:33 +0200
ff6046
Subject: [PATCH] net_setup_link: allow renaming interfaces that were renamed
ff6046
 previously
ff6046
ff6046
---
ff6046
 src/udev/net/link-config.c | 1 -
ff6046
 1 file changed, 1 deletion(-)
ff6046
ff6046
diff --git a/src/udev/net/link-config.c b/src/udev/net/link-config.c
ff6046
index cec4f4f779..5113586457 100644
ff6046
--- a/src/udev/net/link-config.c
ff6046
+++ b/src/udev/net/link-config.c
ff6046
@@ -306,7 +306,6 @@ static bool should_rename(struct udev_device *device, bool respect_predictable)
ff6046
 
ff6046
         switch (type) {
ff6046
         case NET_NAME_USER:
ff6046
-        case NET_NAME_RENAMED:
ff6046
                 /* these were already named by userspace, do not touch again */
ff6046
                 return false;
ff6046
         case NET_NAME_PREDICTABLE: