diff options
Diffstat (limited to 'net/ipv4/ipconfig.c')
-rw-r--r-- | net/ipv4/ipconfig.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv4/ipconfig.c b/net/ipv4/ipconfig.c index cf49de1a4983..c43699f374cd 100644 --- a/net/ipv4/ipconfig.c +++ b/net/ipv4/ipconfig.c | |||
@@ -782,7 +782,7 @@ static void __init ic_do_bootp_ext(u8 *ext) | |||
782 | u8 *c; | 782 | u8 *c; |
783 | 783 | ||
784 | printk("DHCP/BOOTP: Got extension %d:",*ext); | 784 | printk("DHCP/BOOTP: Got extension %d:",*ext); |
785 | for(c=ext+2; c<ext+2+ext[1]; c++) | 785 | for (c=ext+2; c<ext+2+ext[1]; c++) |
786 | printk(" %02x", *c); | 786 | printk(" %02x", *c); |
787 | printk("\n"); | 787 | printk("\n"); |
788 | #endif | 788 | #endif |
@@ -1094,7 +1094,7 @@ static int __init ic_dynamic(void) | |||
1094 | retries = CONF_SEND_RETRIES; | 1094 | retries = CONF_SEND_RETRIES; |
1095 | get_random_bytes(&timeout, sizeof(timeout)); | 1095 | get_random_bytes(&timeout, sizeof(timeout)); |
1096 | timeout = CONF_BASE_TIMEOUT + (timeout % (unsigned) CONF_TIMEOUT_RANDOM); | 1096 | timeout = CONF_BASE_TIMEOUT + (timeout % (unsigned) CONF_TIMEOUT_RANDOM); |
1097 | for(;;) { | 1097 | for (;;) { |
1098 | #ifdef IPCONFIG_BOOTP | 1098 | #ifdef IPCONFIG_BOOTP |
1099 | if (do_bootp && (d->able & IC_BOOTP)) | 1099 | if (do_bootp && (d->able & IC_BOOTP)) |
1100 | ic_bootp_send_if(d, jiffies - start_jiffies); | 1100 | ic_bootp_send_if(d, jiffies - start_jiffies); |