… | … | ||
---|---|---|---|
69 | } | 69 | } |
70 | 70 | ||
71 | # bind to tcp port | 71 | # bind to tcp port |
72 | if ($CMDSHELL_PORT) { | 72 | if ($CMDSHELL_PORT) { |
73 | my $port = new Coro::Socket | 73 | my $port = new Coro::Socket |
74 | LocalAddr => "127.0.0.1", | 74 | #LocalAddr => "127.0.0.1", |
75 | LocalPort => $CMDSHELL_PORT, | 75 | LocalPort => $CMDSHELL_PORT, |
76 | ReuseAddr => 1, | 76 | ReuseAddr => 1, |
77 | Listen => 1, | 77 | Listen => 1, |
78 | or die "unable to bind cmdshell port: $!"; | 78 | or die "unable to bind cmdshell port: $!"; |
79 | 79 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |