"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/ipip.c" between
mrouted-4.3.tar.gz and mrouted-4.4.tar.gz

About: mrouted is an implementation of the DVMRP multicast routing protocol.

ipip.c  (mrouted-4.3):ipip.c  (mrouted-4.4)
skipping to change at line 120 skipping to change at line 120
memset(&msg, 0, sizeof(msg)); memset(&msg, 0, sizeof(msg));
msg.msg_name = (caddr_t)&sdst; msg.msg_name = (caddr_t)&sdst;
msg.msg_namelen = sizeof(sdst); msg.msg_namelen = sizeof(sdst);
msg.msg_iov = iov; msg.msg_iov = iov;
msg.msg_iovlen = 2; msg.msg_iovlen = 2;
if (sendmsg(raw_socket, &msg, 0) < 0) { if (sendmsg(raw_socket, &msg, 0) < 0) {
if (errno == ENETDOWN) if (errno == ENETDOWN)
check_vif_state(); check_vif_state();
else else
logit(LOG_WARNING, errno, logit(LOG_WARNING, errno, "sendmsg to %s on %s",
"sendmsg to %s on %s",
inet_fmt(sdst.sin_addr.s_addr, s1, sizeof(s1)), inet_fmt(src, s2, sizeof(s2))); inet_fmt(sdst.sin_addr.s_addr, s1, sizeof(s1)), inet_fmt(src, s2, sizeof(s2)));
} }
IF_DEBUG(DEBUG_PKT|igmp_debug_kind(type, code)) IF_DEBUG(DEBUG_PKT|igmp_debug_kind(type, code))
logit(LOG_DEBUG, 0, "SENT %s from %-15s to %s encaped to %s", logit(LOG_DEBUG, 0, "SENT %s from %-15s to %s encaped to %s",
igmp_packet_kind(type, code), src == INADDR_ANY ? "INADDR_ANY" : igmp_packet_kind(type, code), src == INADDR_ANY ? "INADDR_ANY" :
inet_fmt(src, s1, sizeof(s1)), inet_fmt(dst, s2, sizeof(s2)), inet_fmt(src, s1, sizeof(s1)), inet_fmt(dst, s2, sizeof(s2)),
inet_fmt(sdst.sin_addr.s_addr, s3, sizeof(s3))); inet_fmt(sdst.sin_addr.s_addr, s3, sizeof(s3)));
} }
/** /**
* Local Variables: * Local Variables:
* indent-tabs-mode: t * indent-tabs-mode: t
* c-file-style: "ellemtel" * c-file-style: "cc-mode"
* c-basic-offset: 4
* End: * End:
*/ */
 End of changes. 2 change blocks. 
4 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)