]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
confile_utils: cleanup lxc_macvlan_mode
authorChristian Brauner <christian.brauner@ubuntu.com>
Wed, 9 Dec 2020 08:52:44 +0000 (09:52 +0100)
committerChristian Brauner <christian.brauner@ubuntu.com>
Thu, 10 Dec 2020 19:39:51 +0000 (20:39 +0100)
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
src/lxc/confile_utils.c

index 31ee22026b185b82374107856782ff421e5cb815..156ce829ff4c06d64ed1b2e86c18a9ab257f8365 100644 (file)
@@ -524,10 +524,10 @@ static struct lxc_macvlan_mode {
        char *name;
        int mode;
 } macvlan_mode[] = {
-    { "private",  MACVLAN_MODE_PRIVATE  },
-    { "vepa",     MACVLAN_MODE_VEPA     },
-    { "bridge",   MACVLAN_MODE_BRIDGE   },
-    { "passthru", MACVLAN_MODE_PASSTHRU },
+       { "private",  MACVLAN_MODE_PRIVATE  },
+       { "vepa",     MACVLAN_MODE_VEPA     },
+       { "bridge",   MACVLAN_MODE_BRIDGE   },
+       { "passthru", MACVLAN_MODE_PASSTHRU },
 };
 
 int lxc_macvlan_mode_to_flag(int *mode, const char *value)