Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F152238280
D17707.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
601 B
Referenced Files
None
Subscribers
None
D17707.id.diff
View Options
Index: head/contrib/ofed/librdmacm/examples/rping.c
===================================================================
--- head/contrib/ofed/librdmacm/examples/rping.c
+++ head/contrib/ofed/librdmacm/examples/rping.c
@@ -1177,9 +1177,13 @@
cb->server = -1;
cb->state = IDLE;
cb->size = 64;
- cb->sin.ss_family = PF_INET;
cb->port = htobe16(7174);
sem_init(&cb->sem, 0, 0);
+
+ /* initialize sockaddr structure with defaults */
+ ret = get_addr("0.0.0.0", (struct sockaddr *) &cb->sin);
+ if (ret)
+ goto out;
opterr = 0;
while ((op=getopt(argc, argv, "a:I:Pp:C:S:t:scvVd")) != -1) {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Apr 14, 3:04 PM (8 h, 4 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31435597
Default Alt Text
D17707.id.diff (601 B)
Attached To
Mode
D17707: iWARP rping server fails to bind socket when no IP address is specified
Attached
Detach File
Event Timeline
Log In to Comment