openwrt / odhcpd

This repository is a mirror of https://git.openwrt.org/?p=project/odhcpd.git. Pull requests will be accepted which will be merged in odhcpd.git
GNU General Public License v2.0
163 stars 99 forks source link

dhcpv4: send Nak to broadcast address #23

Closed mehlis closed 10 years ago

mehlis commented 10 years ago

this PR addresses https://github.com/sbyx/odhcpd/issues/16. wireshark proves that destination IP is send to "new" IP, this is wrong. NAK to IP broadcast is right (inthe most cases).

PR is split in 3 commits.

please review, I'll appy comments ASAP! I'm sure my comments are not completely valid, so far it's a guess :) feel free to correct me!

sbyx commented 10 years ago

They are fine ;)