1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00

- 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)
This commit is contained in:
Martin Wilke 2006-10-07 08:40:06 +00:00
parent 03a734dee7
commit e9db64342a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=174717
2 changed files with 16 additions and 1 deletions

View File

@ -15,7 +15,7 @@ COMMENT= Object-oriented RTP library written in C++
GNU_CONFIGURE= yes
USE_GMAKE= yes
INSTALLS_SHLIB= yes
USE_LDCONFIG= yes
NO_FILTER_SHLIBS= yes
CONFIGURE_TARGET= --target=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --disable-jthread

View File

@ -0,0 +1,15 @@
--- 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