Support using ip in udhcpc scripts.

Slightly modified version of patch by Bastian Blank
This commit is contained in:
Glenn L McGrath
2002-12-08 22:17:54 +00:00
parent c4698b3668
commit 6b5bd0e5ab
4 changed files with 62 additions and 1 deletions

View File

@@ -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];