Re: [PATCH] Set the default IPv6 mode to auto and IPv4 optional



On Fri, Aug 19, 2011 at 6:48 PM, Dan Williams <dcbw redhat com> wrote:
[...]
>>
>> diff --git a/src/nm-device.c b/src/nm-device.c
>> index 1301197..348f911 100644
>> --- a/src/nm-device.c
>> +++ b/src/nm-device.c
>> @@ -808,8 +808,8 @@ ip6_method_matches (NMConnection *connection, const char *match)
>>               g_assert (method);
>>       }
>>
>> -     /* Treat missing IP6 setting as IGNORE */
>> -     if (!s_ip6 && !strcmp (match, NM_SETTING_IP6_CONFIG_METHOD_IGNORE))
>> +     /* Treat missing IP6 setting as AUTO */
>> +     if (!s_ip6 && !strcmp (match, NM_SETTING_IP6_CONFIG_METHOD_AUTO))
>>               return TRUE;
>>
>>       return method && !strcmp (method, match);
>>

I applied this separately from the IPv4 optional bit in Ubuntu
(network-manager 0.9.0-0ubuntu2), but it appears to be breaking modem
connections. Now, I'm not quite certain why that is, but I'm trying to
debug it and hoping it's not a side-effect of other Ubuntu patches.

Mathieu Trudel-Lapierre <mathieu tl gmail com>
Freenode: cyphermox, Jabber: mathieu tl gmail com
4096R/EE018C93 1967 8F7D 03A1 8F38 732E  FF82 C126 33E1 EE01 8C93


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]