Re: [patch] ipsec vpn sends empty tundev



>>> On Wed, Feb 1, 2006 at 10:05 am, in message
>>    Attached is a patch for ipsec vpns, which sends iface (tundev)
ip4
>> config parameter as empty string.  This patch , on top of checking
iface
>> != NULL, also checks for strlen (iface) != null.
> 
> Why not send a NULL pointer and not an empty string?
>

because dbus do not allow sending NULL strings (allows only empty
string).
http://lists.freedesktop.org/archives/dbus/2004-December/001854.html

suresh.



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