Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F142216189
D10980.id28956.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
644 B
Referenced Files
None
Subscribers
None
D10980.id28956.diff
View Options
Index: head/sys/boot/common/dev_net.c
===================================================================
--- head/sys/boot/common/dev_net.c
+++ head/sys/boot/common/dev_net.c
@@ -256,7 +256,6 @@
{
char buf[MAXHOSTNAMELEN];
n_long rootaddr, smask;
- extern struct in_addr servip;
#ifdef SUPPORT_BOOTP
/*
@@ -421,8 +420,8 @@
val = strchr(ptr, '/');
if (val != NULL) {
snprintf(ip, sizeof(ip), "%.*s",
- (int)((uintptr_t)val - (uintptr_t)ptr), ptr);
- printf("%s\n", ip);
+ (int)((uintptr_t)val - (uintptr_t)ptr),
+ ptr);
addr = inet_addr(ip);
bcopy(val, rootpath, strlen(val) + 1);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Jan 18, 9:08 AM (7 h, 12 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27707550
Default Alt Text
D10980.id28956.diff (644 B)
Attached To
Mode
D10980: Small cleanup in dev_net.c
Attached
Detach File
Event Timeline
Log In to Comment