Add a new interface to make the public port available to the frontend.

This commit is contained in:
Josh Elsasser
2007-02-06 04:26:40 +00:00
parent b2fb0bbf3c
commit f67ad8cf47
10 changed files with 52 additions and 27 deletions

View File

@@ -297,7 +297,7 @@ makeprefwindow(GtkWindow *parent, TrBackend *back) {
ii++;
/* NAT traversal checkbox */
intval = tr_natTraversalStatus(tr_backend_handle(back));
intval = tr_handleStatus(tr_backend_handle(back))->natTraversalStatus;
boolval = !TR_NAT_TRAVERSAL_IS_DISABLED( intval );
setupprefwidget(natcheck, PREF_NAT, boolval);
gtk_table_attach_defaults(GTK_TABLE(table), natcheck, 0, 2, RN(ii));