tinc: fix typo in unknown host error message

This commit is contained in:
qwx 2021-10-31 22:48:20 +00:00
parent 023882f0a4
commit 987d15e7b2

View file

@ -1669,7 +1669,7 @@ main(int argc, char *argv[])
for(i = 0; i < argc; i++){ for(i = 0; i < argc; i++){
if((h = gethost(argv[i], 0)) == nil) if((h = gethost(argv[i], 0)) == nil)
sysfatal("unknown host: %s", *argv); sysfatal("unknown host: %s", argv[i]);
if(h == myhost) if(h == myhost)
sysfatal("will not connect to myself"); sysfatal("will not connect to myself");
if(h->rsapub == nil) if(h->rsapub == nil)