Ticket #106: dhcp_relay_support

File dhcp_relay_support, 0.5 kB (added by jubei@csh.rit.edu, 7 months ago)

patch to add bind_layer call

Line 
1 --- scapy.py    2008-04-09 15:21:57.000000000 -0500
2 +++ scapy.py.new        2008-04-09 15:21:50.000000000 -0500
3 @@ -9600,6 +9600,7 @@
4  bind_layers( UDP,           NTP,           dport=123, sport=123)
5  bind_layers( UDP,           BOOTP,         dport=67, sport=68)
6  bind_layers( UDP,           BOOTP,         dport=68, sport=67)
7 +bind_layers( UDP,           BOOTP,         dport=67, sport=67)
8  bind_layers( BOOTP,         DHCP,          options='c\x82Sc')
9  bind_layers( UDP,           RIP,           sport=520)
10  bind_layers( UDP,           RIP,           dport=520)