Hi,

I am using scapy for writing a dhcp client.

The problem i am facing is the mac address i have is in the form 00:11:22:33:44:55 need to convert to '\x00\x11\x22\x33\x44\x55'
Please help me out with this problem. The chaddr field in dhcp ( SCAPY) requires '\x00\x11\x22\x33\x44\x55'  format.

I want this to be assinged through variables. Please let me know if this i doable.

Thanks in advance,
Sudarshana K S
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to