Hello,

debian/patches/05_ipconfig_filename.patch is include in upstream,
so it can be removed.

debian/patches/05_ipconfig_identify.patch should be replace
with the attached patch to get the _very same hard coded_ behaviour of
it is precessor.


Cheers
Geert Stappers
#
# overwrite the DHCP Vendor identifier
#
diff --git a/usr/kinit/ipconfig/README b/usr/kinit/ipconfig/README
index 5c8227a..3046852 100644
--- a/usr/kinit/ipconfig/README
+++ b/usr/kinit/ipconfig/README
@@ -10,7 +10,7 @@ ipconfig [-c proto] [-d interface] [-i i
                interfaces, unless overridden by specific interfaces.
 -d interface   Either the name of an interface, or a long spec.
 -i identifier  DHCP vendor class identifier.  The default is
-               "Linux ipconfig".
+               "d-i".
 -n             Do nothing - just print the configuration that would
                be performed.
 -p port                Send bootp/dhcp broadcasts from PORT, to PORT - 1.
diff --git a/usr/kinit/ipconfig/main.c b/usr/kinit/ipconfig/main.c
index 50141e5..8fe6fb7 100644
--- a/usr/kinit/ipconfig/main.c
+++ b/usr/kinit/ipconfig/main.c
@@ -716,7 +716,7 @@ int ipconfig_main(int argc, char *argv[]
                return err;
 
        /* Default vendor identifier */
-       set_vendor_identifier("Linux ipconfig");
+       set_vendor_identifier("d-i");
 
        do {
                c = getopt(argc, argv, "c:d:i:onp:t:");

Reply via email to