Skip to content
Snippets Groups Projects
Commit 15daf590 authored by Phil's avatar Phil
Browse files

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

parent 1c93ff72
No related branches found
No related tags found
No related merge requests found
......@@ -252,7 +252,9 @@ class DHCP(Packet):
bind_layers( UDP, BOOTP, dport=67, sport=68)
bind_layers( UDP, BOOTP, dport=68, sport=67)
bind_bottom_up( UDP, BOOTP, dport=67, sport=67)
bind_layers( BOOTP, DHCP, options='c\x82Sc')
def dhcp_request(iface=None,**kargs):
if conf.checkIPaddr != 0:
warning("conf.checkIPaddr is not 0, I may not be able to match the answer")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment