From 6884f665bd7bc101f56ff9047afaffbc06dc99e2 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Fri, 23 Nov 2007 00:08:54 +0000 Subject: dhcp: stop using magic constants; use (htonl(CONST) != a) - it's smaller function old new delta udhcp_get_packet 146 134 -12 get_raw_packet 368 353 -15 --- networking/udhcp/options.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'networking/udhcp/options.h') diff --git a/networking/udhcp/options.h b/networking/udhcp/options.h index 5e9adf881..33a968ce9 100644 --- a/networking/udhcp/options.h +++ b/networking/udhcp/options.h @@ -6,7 +6,7 @@ #define TYPE_MASK 0x0F enum { - OPTION_IP=1, + OPTION_IP = 1, OPTION_IP_PAIR, OPTION_STRING, #if ENABLE_FEATURE_RFC3397 -- cgit v1.2.3