- Timestamp:
- 09/24/18 14:19:14 (3 years ago)
- Branches:
- develop, master, ringperformance
- Children:
- fe4940e
- Parents:
- 73a5b72
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/format_ndag.c
r30bf197 r6a2f037 550 550 #endif 551 551 552 close(src.sock); 552 if (src.sock != -1) { 553 close(src.sock); 554 } 553 555 } 554 556 if (receiver->knownmonitors) { … … 724 726 ssock = &(rt->sources[rt->sourcecount]); 725 727 726 ssock->sock = join_multicast_group(src.groupaddr, src.localiface,727 NULL, src.port, &(ssock->srcaddr));728 729 if (ssock->sock < 0) {730 return -1;731 }732 733 728 for (i = 0; i < rt->monitorcount; i++) { 734 729 if (rt->knownmonitors[i].monitorid == src.monitor) { … … 777 772 ssock->recordcount = 0; 778 773 rt->sourcecount += 1; 774 775 ssock->sock = join_multicast_group(src.groupaddr, src.localiface, 776 NULL, src.port, &(ssock->srcaddr)); 777 778 if (ssock->sock < 0) { 779 return -1; 780 } 781 779 782 if (ssock->sock > rt->maxfd) { 780 783 rt->maxfd = ssock->sock;
Note: See TracChangeset
for help on using the changeset viewer.