ifupdown: interpret allow-hotplug as autoconnect (debian #568784)

This commit is contained in:
Michael Biebl 2010-02-08 09:34:28 -08:00 committed by Dan Williams
parent 74dfcf6ad7
commit 2a7a4ebaf6

View file

@ -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;