diff options
| author | 2019-02-16 16:52:54 +0000 | |
|---|---|---|
| committer | 2019-02-16 16:52:54 +0000 | |
| commit | 748bb43e38a1a34d94a579f7f96853239522ee81 (patch) | |
| tree | c48c967d30f224d3db902b48f87c00a98d8cdefd | |
| parent | getaddrinfo doesn't imply "DNS", borrow terminology from ssh (diff) | |
| download | wireguard-openbsd-748bb43e38a1a34d94a579f7f96853239522ee81.tar.xz wireguard-openbsd-748bb43e38a1a34d94a579f7f96853239522ee81.zip | |
use service "rsync" rather than "873"
| -rw-r--r-- | usr.bin/rsync/socket.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/rsync/socket.c b/usr.bin/rsync/socket.c index 1edaba34421..2a3b470164f 100644 --- a/usr.bin/rsync/socket.c +++ b/usr.bin/rsync/socket.c @@ -1,4 +1,4 @@ -/* $Id: socket.c,v 1.10 2019/02/16 16:50:09 deraadt Exp $ */ +/* $Id: socket.c,v 1.11 2019/02/16 16:52:54 deraadt Exp $ */ /* * Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv> * @@ -116,7 +116,7 @@ inet_resolve(struct sess *sess, const char *host, size_t *sz) hints.ai_family = PF_UNSPEC; hints.ai_socktype = SOCK_DGRAM; /* DUMMY */ - error = getaddrinfo(host, "873", &hints, &res0); + error = getaddrinfo(host, "rsync", &hints, &res0); LOG2(sess, "resolving: %s", host); |
