bindings/python/ns3_module_common.py
changeset 3743 d0cf214d050c
parent 3731 317f9dbccc2b
child 3755 c73866625b44
--- a/bindings/python/ns3_module_common.py	Sun Oct 12 14:40:26 2008 +0100
+++ b/bindings/python/ns3_module_common.py	Sun Oct 12 18:04:10 2008 +0100
@@ -443,10 +443,11 @@
                    'uint8_t const *', 
                    [], 
                    is_const=True)
-    ## packet.h: uint32_t ns3::Packet::PeekHeader(ns3::Header & header) [member function]
+    ## packet.h: uint32_t ns3::Packet::PeekHeader(ns3::Header & header) const [member function]
     cls.add_method('PeekHeader', 
                    'uint32_t', 
-                   [param('ns3::Header &', 'header')])
+                   [param('ns3::Header &', 'header')], 
+                   is_const=True)
     ## packet.h: uint32_t ns3::Packet::PeekTrailer(ns3::Trailer & trailer) [member function]
     cls.add_method('PeekTrailer', 
                    'uint32_t',