summaryrefslogtreecommitdiff
path: root/networking/udhcp/options.h
diff options
context:
space:
mode:
authorGlenn L McGrath2002-12-08 22:17:54 +0000
committerGlenn L McGrath2002-12-08 22:17:54 +0000
commit6b5bd0e5abbfb6b3b925dfd8452c72589569981b (patch)
tree19011ddf9f89ae7b4f9245154520e0605984c6e7 /networking/udhcp/options.h
parentc4698b36682b0bccae2fa1f70460aacaef306313 (diff)
downloadbusybox-6b5bd0e5abbfb6b3b925dfd8452c72589569981b.zip
busybox-6b5bd0e5abbfb6b3b925dfd8452c72589569981b.tar.gz
Support using ip in udhcpc scripts.
Slightly modified version of patch by Bastian Blank
Diffstat (limited to 'networking/udhcp/options.h')
-rw-r--r--networking/udhcp/options.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/networking/udhcp/options.h b/networking/udhcp/options.h
index 1fded2e..dccaa2a 100644
--- a/networking/udhcp/options.h
+++ b/networking/udhcp/options.h
@@ -4,6 +4,8 @@
#include "packet.h"
+#include "config.h"
+
#define TYPE_MASK 0x0F
enum {
@@ -20,6 +22,7 @@ enum {
#define OPTION_REQ 0x10 /* have the client request this option */
#define OPTION_LIST 0x20 /* There can be a list of 1 or more of these */
+#define OPTION_PREFIX 0x40 /* ip wants a prefix instead of a ip for subnet */
struct dhcp_option {
char name[10];