FreeBSD Bugzilla – Attachment 46864 Details for
Bug 71856
net/kphone startup problem with multiple interfaces (patch)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.00 KB, created by
RiÄardas Äepas
on 2004-09-18 10:20:33 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
RiÄardas Äepas
Created:
2004-09-18 10:20:33 UTC
Size:
1.00 KB
patch
obsolete
>--- kphone/dissipate2/siputil.cpp.orig2 Mon Sep 13 17:30:46 2004 >+++ kphone/dissipate2/siputil.cpp Mon Sep 13 17:44:52 2004 >@@ -164,9 +164,9 @@ > 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" + >@@ -187,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]) + "\")", >@@ -221,7 +221,7 @@ > } > } > } >- } >+ /*}*/ > } > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 71856
: 46864