From a07af88e021c339521211a9fac15f071401bb792 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Wed, 14 Sep 2005 15:27:59 +0000 Subject: [PATCH] add some more DHCP options, idea by danversj SVN-Revision: 1920 --- .../busybox/patches/170-udhcp-options.patch | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 openwrt/package/busybox/patches/170-udhcp-options.patch diff --git a/openwrt/package/busybox/patches/170-udhcp-options.patch b/openwrt/package/busybox/patches/170-udhcp-options.patch new file mode 100644 index 0000000000..b03810adf5 --- /dev/null +++ b/openwrt/package/busybox/patches/170-udhcp-options.patch @@ -0,0 +1,15 @@ +diff -Nur busybox-1.00.orig/networking/udhcp/options.c busybox-1.00/networking/udhcp/options.c +--- busybox-1.00.orig/networking/udhcp/options.c 2004-03-15 09:29:01.000000000 +0100 ++++ busybox-1.00/networking/udhcp/options.c 2005-09-14 13:27:23.792609800 +0200 +@@ -39,8 +39,11 @@ + {"dhcptype", OPTION_U8, 0x35}, + {"serverid", OPTION_IP, 0x36}, + {"message", OPTION_STRING, 0x38}, ++ {"vendorclass", OPTION_STRING, 0x3C}, ++ {"clientid", OPTION_STRING, 0x3D}, + {"tftp", OPTION_STRING, 0x42}, + {"bootfile", OPTION_STRING, 0x43}, ++ {"userclass", OPTION_STRING, 0x4D}, + {"", 0x00, 0x00} + }; + -- 2.30.2