|
@@ -181,11 +181,9 @@ int create_fakeproxydhcpack ( struct net_device *netdev,
|
181
|
181
|
/* Identify ProxyDHCP settings */
|
182
|
182
|
settings = find_settings ( PROXYDHCP_SETTINGS_NAME );
|
183
|
183
|
|
184
|
|
- /* No ProxyDHCP settings => return empty block */
|
185
|
|
- if ( ! settings ) {
|
186
|
|
- memset ( data, 0, max_len );
|
187
|
|
- return 0;
|
188
|
|
- }
|
|
184
|
+ /* No ProxyDHCP settings => use normal DHCPACK */
|
|
185
|
+ if ( ! settings )
|
|
186
|
+ return create_fakedhcpack ( netdev, data, max_len );
|
189
|
187
|
|
190
|
188
|
/* Create base DHCPACK packet */
|
191
|
189
|
if ( ( rc = dhcp_create_packet ( &dhcppkt, netdev, DHCPACK, NULL,
|