summaryrefslogtreecommitdiff
path: root/networking/udhcp/options.c
diff options
context:
space:
mode:
authorDenys Vlasenko2009-07-03 16:59:59 +0200
committerDenys Vlasenko2009-07-03 16:59:59 +0200
commit7895b91743702497efc179a4fe30808e49c67977 (patch)
tree0327d8d61ba0c145c812ecdc99cfca603aeb451a /networking/udhcp/options.c
parentc3b6f2c7e1f065fb7e57d2dddc238d433e016e1f (diff)
downloadbusybox-7895b91743702497efc179a4fe30808e49c67977.zip
busybox-7895b91743702497efc179a4fe30808e49c67977.tar.gz
udhcp: dname_dec may return NULL, account for that case
Other random cleanips included... Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/udhcp/options.c')
-rw-r--r--networking/udhcp/options.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/udhcp/options.c b/networking/udhcp/options.c
index 0f17feb..76d6e37 100644
--- a/networking/udhcp/options.c
+++ b/networking/udhcp/options.c
@@ -115,7 +115,7 @@ const uint8_t dhcp_option_lengths[] ALIGN1 = {
[OPTION_U16] = 2,
[OPTION_S16] = 2,
[OPTION_U32] = 4,
- [OPTION_S32] = 4
+ [OPTION_S32] = 4,
};