Changeset 870:c17a29aaaaca

Show
Ignore:
Timestamp:
08/15/08 16:27:00 (5 months ago)
Author:
Phil <phil@secdev.org>
Message:

Added UDP/BOOTP binding for bootp relay (ticket #106)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • scapy/layers/dhcp.py

    r862 r870  
    253253bind_layers( UDP,           BOOTP,         dport=67, sport=68) 
    254254bind_layers( UDP,           BOOTP,         dport=68, sport=67) 
     255bind_bottom_up( UDP, BOOTP, dport=67, sport=67) 
    255256bind_layers( BOOTP,         DHCP,          options='c\x82Sc') 
     257 
    256258def dhcp_request(iface=None,**kargs): 
    257259    if conf.checkIPaddr != 0: