Fix dhclient option order to avoid errors
authorRichard Purdie <rpurdie@linux.intel.com>
Tue, 26 May 2009 09:19:27 +0000 (10:19 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 26 May 2009 09:32:41 +0000 (11:32 +0200)
commit8efc7bf52f66a144875a5d32548d496431a78360
treecfad8db42c8b08a6a4bb3cf5aa885f6c7032a0fc
parent312029eaab4f215fadf4182d3e09cdccddd5bf92
Fix dhclient option order to avoid errors

When dhclient is called, it expects to see the interface name before
any -n option. If this doesn't happen it will just print usage
information.

This patch changes the dhclient option order so the interface comes
before -n and works with the standard dhcp 4.1.0 source.
plugins/dhclient.c