mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-05 19:20:35 +01:00
ifupdown: interpret allow-hotplug as autoconnect (debian #568784)
This commit is contained in:
parent
74dfcf6ad7
commit
2a7a4ebaf6
1 changed files with 1 additions and 1 deletions
|
|
@ -355,7 +355,7 @@ SCPluginIfupdown_init (NMSystemConfigInterface *config)
|
|||
ifparser_init ();
|
||||
block = ifparser_getfirst ();
|
||||
while (block) {
|
||||
if(!strcmp ("auto", block->type))
|
||||
if(!strcmp ("auto", block->type) || !strcmp ("allow-hotplug", block->type))
|
||||
g_hash_table_insert (auto_ifaces, block->name, GUINT_TO_POINTER (1));
|
||||
else if (!strcmp ("iface", block->type) && strcmp ("lo", block->name)) {
|
||||
NMIfupdownConnection *exported;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue