Fixing wrong license
[nepi.git] / src / nepi / resources / ns3 / classes / ping6.py
index 7986532..346b230 100644 (file)
@@ -3,9 +3,8 @@
 #    Copyright (C) 2014 INRIA
 #
 #    This program is free software: you can redistribute it and/or modify
-#    it under the terms of the GNU General Public License as published by
-#    the Free Software Foundation, either version 3 of the License, or
-#    (at your option) any later version.
+#    it under the terms of the GNU General Public License version 2 as
+#    published by the Free Software Foundation;
 #
 #    This program is distributed in the hope that it will be useful,
 #    but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -19,7 +18,7 @@
 from nepi.execution.attribute import Attribute, Flags, Types
 from nepi.execution.trace import Trace, TraceAttr
 from nepi.execution.resource import ResourceManager, clsinit_copy, \
-        ResourceState, reschedule_delay
+        ResourceState
 from nepi.resources.ns3.ns3application import NS3BaseApplication 
 
 @clsinit_copy
@@ -52,7 +51,7 @@ class NS3Ping6(NS3BaseApplication):
         attr_remoteipv6 = Attribute("RemoteIpv6",
             "The Ipv6Address of the outbound packets",
             type = Types.String,
-            default = "0000:0000:0000:0000:0000:0000:0000:0000",  
+            default = "::",  
             allowed = None,
             range = None,    
             flags = Flags.Reserved | Flags.Construct)
@@ -62,7 +61,7 @@ class NS3Ping6(NS3BaseApplication):
         attr_localipv6 = Attribute("LocalIpv6",
             "Local Ipv6Address of the sender",
             type = Types.String,
-            default = "0000:0000:0000:0000:0000:0000:0000:0000",  
+            default = "::",  
             allowed = None,
             range = None,    
             flags = Flags.Reserved | Flags.Construct)