freebsd-ports/devel/jrtplib/files/patch-src-rtpipv6destination.h
Martin Wilke e9db64342a - Fixed bug in RTPIPv6Destination
PR:		ports/103704
Submitted by:	Yi-Huan Chan <yhchan@csie.nctu.edu.tw>
Approved by:	Petr Holub <hopet@ics.muni.cz> (maintainer)
2006-10-07 08:40:06 +00:00

15 lines
569 B
C

--- src/rtpipv6destination.h.orig Tue Sep 26 22:12:59 2006
+++ src/rtpipv6destination.h Tue Sep 26 22:13:16 2006
@@ -65,9 +65,9 @@
rtpaddr.sin6_family = AF_INET6;
rtpaddr.sin6_port = htons(portbase);
rtpaddr.sin6_addr = ip;
- rtpaddr.sin6_family = AF_INET6;
- rtpaddr.sin6_port = htons(portbase+1);
- rtpaddr.sin6_addr = ip;
+ rtcpaddr.sin6_family = AF_INET6;
+ rtcpaddr.sin6_port = htons(portbase+1);
+ rtcpaddr.sin6_addr = ip;
}
in6_addr GetIP() const { return rtpaddr.sin6_addr; }
bool operator==(const RTPIPv6Destination &src) const