[systemd-devel] [PATCH 15/28] dhcp: Add example DHCP client test program

Patrik Flykt patrik.flykt at linux.intel.com
Fri Nov 15 01:23:55 PST 2013


On Thu, 2013-11-14 at 01:22 +0100, Lennart Poettering wrote:
> 
> Also, rtnl sounds the better option. And if not, then this call
> appears
> to be totally identical to glibc's ifname_to_index(), no? Better use
> that then...

This is only part of the example DHCP test client. It's usefulness is
restricted to get DHCP messages being sent on the wire for testing
purposes, but for that purpose it's decently nice. I'm not really sure
whether the test client actually belongs here in the code in the first
place. If I go the rtnl way, someone might get the impression that this
can be
expanded to something useful which is not the intention as
systemd-network already exists.

Cheers,

	Patrik




More information about the systemd-devel mailing list