looks like an obvious typo
authorThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Tue, 11 Dec 2007 12:20:30 +0000 (12:20 +0000)
committerThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Tue, 11 Dec 2007 12:20:30 +0000 (12:20 +0000)
python/vserverimpl.c

index 71f0820..3ac9069 100644 (file)
@@ -499,7 +499,7 @@ vserver_net_remove(PyObject *self, PyObject *args)
   if (strcmp(ip, "all") == 0)
     addr.vna_type = VC_NXA_TYPE_ANY;
   else if (strcmp(ip, "all4") == 0)
-    addr.vna_type = VC_NXA_TYPE_IPV6 | VC_NXA_TYPE_ANY;
+    addr.vna_type = VC_NXA_TYPE_IPV4 | VC_NXA_TYPE_ANY;
   else if (strcmp(ip, "all6") == 0)
     addr.vna_type = VC_NXA_TYPE_IPV6 | VC_NXA_TYPE_ANY;
   else {