mirror of
https://github.com/transmission/transmission
synced 2025-02-22 22:20:39 +00:00
NAT forwarding is off by default, and port, not portS
This commit is contained in:
parent
eec723ad67
commit
f1921f5cff
4 changed files with 49 additions and 17 deletions
|
@ -55,7 +55,7 @@
|
||||||
<key>MoveFolder</key>
|
<key>MoveFolder</key>
|
||||||
<string>~/Desktop</string>
|
<string>~/Desktop</string>
|
||||||
<key>NatTraversal</key>
|
<key>NatTraversal</key>
|
||||||
<true/>
|
<false/>
|
||||||
<key>PlayDownloadSound</key>
|
<key>PlayDownloadSound</key>
|
||||||
<true/>
|
<true/>
|
||||||
<key>PlaySeedingSound</key>
|
<key>PlaySeedingSound</key>
|
||||||
|
|
|
@ -1,10 +1,26 @@
|
||||||
//
|
/******************************************************************************
|
||||||
// PiecesWindowController.h
|
* $Id$
|
||||||
// Transmission
|
*
|
||||||
//
|
* Copyright (c) 2005-2006 Transmission authors and contributors
|
||||||
// Created by Livingston on 9/23/06.
|
*
|
||||||
// Copyright 2006 __MyCompanyName__. All rights reserved.
|
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||||
//
|
* copy of this software and associated documentation files (the "Software"),
|
||||||
|
* to deal in the Software without restriction, including without limitation
|
||||||
|
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||||
|
* and/or sell copies of the Software, and to permit persons to whom the
|
||||||
|
* Software is furnished to do so, subject to the following conditions:
|
||||||
|
*
|
||||||
|
* The above copyright notice and this permission notice shall be included in
|
||||||
|
* all copies or substantial portions of the Software.
|
||||||
|
*
|
||||||
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||||
|
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||||
|
* DEALINGS IN THE SOFTWARE.
|
||||||
|
*****************************************************************************/
|
||||||
|
|
||||||
#import <Cocoa/Cocoa.h>
|
#import <Cocoa/Cocoa.h>
|
||||||
#import "Torrent.h"
|
#import "Torrent.h"
|
||||||
|
|
|
@ -1,10 +1,26 @@
|
||||||
//
|
/******************************************************************************
|
||||||
// PiecesWindowController.m
|
* $Id$
|
||||||
// Transmission
|
*
|
||||||
//
|
* Copyright (c) 2005-2006 Transmission authors and contributors
|
||||||
// Created by Livingston on 9/23/06.
|
*
|
||||||
// Copyright 2006 __MyCompanyName__. All rights reserved.
|
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||||
//
|
* copy of this software and associated documentation files (the "Software"),
|
||||||
|
* to deal in the Software without restriction, including without limitation
|
||||||
|
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||||
|
* and/or sell copies of the Software, and to permit persons to whom the
|
||||||
|
* Software is furnished to do so, subject to the following conditions:
|
||||||
|
*
|
||||||
|
* The above copyright notice and this permission notice shall be included in
|
||||||
|
* all copies or substantial portions of the Software.
|
||||||
|
*
|
||||||
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||||
|
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||||
|
* DEALINGS IN THE SOFTWARE.
|
||||||
|
*****************************************************************************/
|
||||||
|
|
||||||
#import "PiecesView.h"
|
#import "PiecesView.h"
|
||||||
|
|
||||||
|
|
|
@ -427,12 +427,12 @@
|
||||||
|
|
||||||
if (status == 2)
|
if (status == 2)
|
||||||
{
|
{
|
||||||
[fNatStatusField setStringValue: @"Ports successfully mapped"];
|
[fNatStatusField setStringValue: @"Port successfully mapped"];
|
||||||
[fNatStatusImage setImage: [NSImage imageNamed: @"Check.png"]];
|
[fNatStatusImage setImage: [NSImage imageNamed: @"Check.png"]];
|
||||||
}
|
}
|
||||||
else if (status == 3 || status == 4)
|
else if (status == 3 || status == 4)
|
||||||
{
|
{
|
||||||
[fNatStatusField setStringValue: @"Error mapping ports"];
|
[fNatStatusField setStringValue: @"Error mapping port"];
|
||||||
[fNatStatusImage setImage: [NSImage imageNamed: @"Error.tiff"]];
|
[fNatStatusImage setImage: [NSImage imageNamed: @"Error.tiff"]];
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue