From 659afd89bedf72394ad7ac2a5a4ff8118792c9df Mon Sep 17 00:00:00 2001 From: Mitchell Livingston Date: Thu, 11 Dec 2008 22:47:07 +0000 Subject: [PATCH] #1589 Fix a forwarding bug introduced in r7352 random port --- macosx/PrefsController.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/macosx/PrefsController.m b/macosx/PrefsController.m index ea5b1281e..f1662d974 100644 --- a/macosx/PrefsController.m +++ b/macosx/PrefsController.m @@ -349,7 +349,7 @@ tr_handle * fHandle; tr_port port = tr_sessionSetPeerPortRandom(fHandle); [fPortField setIntValue: port]; - [self setPort: nil]; + [self setPort: fPortField]; } - (void) setNat: (id) sender -- 2.40.0