liboobs r214 - in trunk: . oobs



Author: carlosg
Date: Sun Jan 27 14:36:19 2008
New Revision: 214
URL: http://svn.gnome.org/viewvc/liboobs?rev=214&view=rev

Log:
2008-01-27  Carlos Garnacho  <carlosg gnome org>

        * oobs/oobs-iface-ppp.c (oobs_iface_ppp_set_ethernet): setting a NULL
        ethernet interface for PPPoE is not an error.


Modified:
   trunk/ChangeLog
   trunk/oobs/oobs-iface-ppp.c

Modified: trunk/oobs/oobs-iface-ppp.c
==============================================================================
--- trunk/oobs/oobs-iface-ppp.c	(original)
+++ trunk/oobs/oobs-iface-ppp.c	Sun Jan 27 14:36:19 2008
@@ -888,7 +888,7 @@
   OobsIfacePPPPrivate *priv;
 
   g_return_if_fail (OOBS_IS_IFACE_PPP (iface));
-  g_return_if_fail (OOBS_IS_IFACE_ETHERNET (ethernet));
+  g_return_if_fail (!ethernet || OOBS_IS_IFACE_ETHERNET (ethernet));
 
   priv = iface->_priv;
 



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