diff options
author | Tilman Keskinoz <arved@FreeBSD.org> | 2004-12-22 08:54:15 +0000 |
---|---|---|
committer | Tilman Keskinoz <arved@FreeBSD.org> | 2004-12-22 08:54:15 +0000 |
commit | 30c307d097914de2955b5cbfb9edded7a6432f9d (patch) | |
tree | 3e54d903759fac8ebf8d7936a46d18bab12400a3 /net/kphone/files/patch-dissipate2-siputil.cpp | |
parent | update the port to 1.4.0.alpha3 and fix check_procs. (diff) |
Update to 4.1.0.
- Audio quality on FreeBSD 5.x is still poor.
Notes
Notes:
svn path=/head/; revision=124808
Diffstat (limited to '')
-rw-r--r-- | net/kphone/files/patch-dissipate2-siputil.cpp | 34 |
1 files changed, 3 insertions, 31 deletions
diff --git a/net/kphone/files/patch-dissipate2-siputil.cpp b/net/kphone/files/patch-dissipate2-siputil.cpp index c6eb2c645edd..fa588c0462b2 100644 --- a/net/kphone/files/patch-dissipate2-siputil.cpp +++ b/net/kphone/files/patch-dissipate2-siputil.cpp @@ -1,5 +1,5 @@ ---- dissipate2/siputil.cpp.orig Sun Oct 17 15:37:31 2004 -+++ dissipate2/siputil.cpp Sun Oct 17 15:37:15 2004 +--- dissipate2/siputil.cpp.orig Tue Dec 7 09:59:37 2004 ++++ dissipate2/siputil.cpp Tue Dec 21 21:05:35 2004 @@ -5,6 +5,9 @@ #include <sys/time.h> #include <sys/errno.h> @@ -99,39 +99,11 @@ if ( if_count == 1 ) { strncpy( if_name[j], netconf.ifc_req[0].ifr_name, 20 ); strncpy( if_addr[j], inet_ntoa(((struct sockaddr_in*)(&netconf.ifc_req[0].ifr_addr))->sin_addr), 20 ); -@@ -120,13 +158,15 @@ +@@ -120,6 +158,7 @@ } } } +#endif /* not FreeBSD or NetBSD */ -+ if( j == 1 ) { dissipate_our_fqdn = strdup( if_addr[0] ); } else { - default_ifName = getdefaultdev(); -- if( default_ifName != NULL) { -+ /*if( default_ifName != NULL) {*/ - for( i = 0; i < j; i++ ) { -- if( strcmp( if_name[i], default_ifName ) == 0 ) { -+ if( default_ifName != NULL && strcmp( if_name[i], default_ifName ) == 0 ) { - QMessageBox mb( "KPhone", - "KPhone found more than one interface.\n" - "Do you want to use the default interface:\n\n" + -@@ -147,7 +187,7 @@ - } - } - for( i = 0; i < j; i++ ) { -- if( strcmp( if_name[i], default_ifName ) != 0 ) { -+ if(default_ifName == NULL || strcmp( if_name[i], default_ifName ) != 0 ) { - if( i == j-1 ) { - QMessageBox mb( "KPhone", - "Do you want to use " + QString(if_name[i]) + " (IP:\"" + QString(if_addr[i]) + "\")", -@@ -181,7 +221,7 @@ - } - } - } -- } -+ /*}*/ - } - } - |