Opened 8 years ago
Closed 8 years ago
#823 closed defect (fixed)
Misprint/Error in SAMv3 sources/documentation
Reported by: | Solarcoaster | Owned by: | mkvore |
---|---|---|---|
Priority: | minor | Milestone: | 0.9.5 |
Component: | www/i2p | Version: | 0.9.4 |
Keywords: | Cc: | ||
Parent Tickets: | Sensitive: | no |
Description
When I try to enable silent mode of SAMv3 it doesn't work. SAMv3 stays in verbosity mode anyway. I used this command from documentation:
→ STREAM FORWARD
ID={$nickname}
PORT={$port}
[HOST={$host}]
[SILENCE={true,false}]
Then I look into the sources and I see:
public void startForwardingIncoming( Properties props ) throws SAMException, InterruptedIOException
{
SAMv3Handler.SessionRecord? rec = SAMv3Handler.sSessionsHash.get(nick);
boolean verbose = props.getProperty("SILENT", "false").equals("false");
And if I use following command everything works great
→ STREAM FORWARD
ID={$nickname}
PORT={$port}
[HOST={$host}]
[SILENT={true,false}]
<not SILENCE!!!>
Obviously, there is mismatch between sources and documentation. The property named "SILENT" in sources has name "SILENCE" in documentation.
Subtickets
Change History (1)
comment:1 Changed 8 years ago by
Component: | apps/SAM → www |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Confirmed and fixed in the documentation. Thanks for the report!