summaryrefslogtreecommitdiff
path: root/networking/udhcp/files.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-11-28 19:23:12 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-11-28 19:23:12 +0000
commit35ff74676b54b1cae5a6324d2517568393fedbc8 (patch)
treeb913eda3005954aec3543cc07d3f86baeeb6429a /networking/udhcp/files.c
parent41f5add965163607b5921aa224b9ba6fa3debc05 (diff)
downloadbusybox-w32-35ff74676b54b1cae5a6324d2517568393fedbc8.tar.gz
busybox-w32-35ff74676b54b1cae5a6324d2517568393fedbc8.tar.bz2
busybox-w32-35ff74676b54b1cae5a6324d2517568393fedbc8.zip
dhcpc: let server know we don't like oversized packets.
add TODO comment
Diffstat (limited to 'networking/udhcp/files.c')
-rw-r--r--networking/udhcp/files.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/networking/udhcp/files.c b/networking/udhcp/files.c
index 59a5e4ab2..5026598d7 100644
--- a/networking/udhcp/files.c
+++ b/networking/udhcp/files.c
@@ -90,7 +90,7 @@ static void attach_option(struct option_set **opt_list,
90 90
91 existing = find_option(*opt_list, option->code); 91 existing = find_option(*opt_list, option->code);
92 if (!existing) { 92 if (!existing) {
93 DEBUG("Attaching option %s to list", option->name); 93 DEBUG("Attaching option %02x to list", option->code);
94 94
95#if ENABLE_FEATURE_RFC3397 95#if ENABLE_FEATURE_RFC3397
96 if ((option->flags & TYPE_MASK) == OPTION_STR1035) 96 if ((option->flags & TYPE_MASK) == OPTION_STR1035)
@@ -119,7 +119,7 @@ static void attach_option(struct option_set **opt_list,
119 } 119 }
120 120
121 /* add it to an existing option */ 121 /* add it to an existing option */
122 DEBUG("Attaching option %s to existing member of list", option->name); 122 DEBUG("Attaching option %02x to existing member of list", option->code);
123 if (option->flags & OPTION_LIST) { 123 if (option->flags & OPTION_LIST) {
124#if ENABLE_FEATURE_RFC3397 124#if ENABLE_FEATURE_RFC3397
125 if ((option->flags & TYPE_MASK) == OPTION_STR1035) 125 if ((option->flags & TYPE_MASK) == OPTION_STR1035)
@@ -170,7 +170,7 @@ static int read_opt(const char *const_line, void *arg)
170 while (1) { 170 while (1) {
171 if (!option->code) 171 if (!option->code)
172 return 0; 172 return 0;
173 if (!strcasecmp(option->name, opt)) 173 if (!strcasecmp(option->opt_name, opt))
174 break; 174 break;
175 option++; 175 option++;
176 } 176 }