mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-11-16 18:15:17 +00:00
Default tcp_ping port changed to 80
This commit is contained in:
parent
a2ae025f56
commit
45d63c7fba
@ -3372,7 +3372,7 @@
|
||||
</term>
|
||||
<listitem>Displays the number of microseconds it takes to
|
||||
get a reply on a ping to to tcp 'port' on 'host'. 'port' is optional
|
||||
and has 54321 as default. This works on both open and closed
|
||||
and has 80 as default. This works on both open and closed
|
||||
ports, just make sure that the port is not behind a firewall or you
|
||||
will get 'down' as answer. It's best to test a closed port instead
|
||||
of an open port, you will get a quicker response.
|
||||
|
@ -66,7 +66,7 @@ void parse_read_tcpip_arg(struct text_object *obj, const char *arg, void *free_a
|
||||
|
||||
void parse_tcp_ping_arg(struct text_object *obj, const char *arg, void *free_at_crash)
|
||||
{
|
||||
#define DEFAULT_TCP_PING_PORT 54321
|
||||
#define DEFAULT_TCP_PING_PORT 80
|
||||
struct sockaddr_in *addr;
|
||||
char *hostname;
|
||||
struct hostent* he;
|
||||
|
Loading…
Reference in New Issue
Block a user