bindings/python/ns3_module_point_to_point.py
changeset 4589 c9374dcfd09a
parent 4474 19e2b7ff3482
--- a/bindings/python/ns3_module_point_to_point.py	Fri Jun 19 20:26:51 2009 -0700
+++ b/bindings/python/ns3_module_point_to_point.py	Wed Jun 24 15:31:53 2009 -0700
@@ -172,10 +172,6 @@
     cls.add_method('Receive', 
                    'void', 
                    [param('ns3::Ptr< ns3::Packet >', 'p')])
-    ## point-to-point-net-device.h: void ns3::PointToPointNetDevice::SetAddress(ns3::Mac48Address addr) [member function]
-    cls.add_method('SetAddress', 
-                   'void', 
-                   [param('ns3::Mac48Address', 'addr')])
     ## point-to-point-net-device.h: void ns3::PointToPointNetDevice::SetFrameSize(uint16_t frameSize) [member function]
     cls.add_method('SetFrameSize', 
                    'void', 
@@ -200,6 +196,11 @@
                    'ns3::Ptr< ns3::Channel >', 
                    [], 
                    is_const=True, is_virtual=True)
+    ## point-to-point-net-device.h: void ns3::PointToPointNetDevice::SetAddress(ns3::Address address) [member function]
+    cls.add_method('SetAddress', 
+                   'void', 
+                   [param('ns3::Address', 'address')], 
+                   is_virtual=True)
     ## point-to-point-net-device.h: ns3::Address ns3::PointToPointNetDevice::GetAddress() const [member function]
     cls.add_method('GetAddress', 
                    'ns3::Address',