Changeset 3256

Show
Ignore:
Timestamp:
07/29/08 12:16:39 (5 years ago)
Author:
getxsick
Message:

Default value for src/dst addresses in IP protocol

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branch/UMPA/umpa/protocols/IP.py

    r3254 r3256  
    187187                        HTTL("TTL", const.TTL_LINUX), HProtocol("Protocol"), 
    188188                        HHeaderChecksum("Header Checksum", 0), 
    189                         IPv4AddrField("Source Address", bits=16), 
    190                         IPv4AddrField("Destination Address", bits=16), 
     189                        IPv4AddrField("Source Address", "127.0.0.1", 16), 
     190                        IPv4AddrField("Destination Address", "127.0.0.1", 16), 
    191191                        Flags("Options", ()), HPadding("Padding") ] 
    192192