CyberShadow / dhcptest

Cross-platform DHCP test client
https://blog.cy.md/2013/01/10/dhcp-test-client
363 stars 57 forks source link

listen on main interface #19

Closed Heinzler closed 4 years ago

Heinzler commented 4 years ago

would it be possible to add an option to only listen on the NIC where the default route is?

CyberShadow commented 4 years ago

There is an option to set the bind address. On Linux, there is also an option to set the name of the interface to bind to. The functionality of the option you described would be a subset of the above, and thus, would be redundant.