diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2019-02-17 18:11:51 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2019-02-17 18:11:51 +0000 |
commit | 756b929678e43f31b527fe46b414e152622848d4 (patch) | |
tree | 900fe891ebe545ec71c1b31d760e062d853ce7c1 /usr.bin/rsync/extern.h | |
parent | 330f7183b064904c9a53f06db7c77b82b3d67dc5 (diff) |
Add support for --port=PORT and ":port" in the rsync:// URL.
real rsync only supports numbers, but this supports service names also
ok florian benno
Diffstat (limited to 'usr.bin/rsync/extern.h')
-rw-r--r-- | usr.bin/rsync/extern.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/rsync/extern.h b/usr.bin/rsync/extern.h index de907484505..8137faba946 100644 --- a/usr.bin/rsync/extern.h +++ b/usr.bin/rsync/extern.h @@ -1,4 +1,4 @@ -/* $Id: extern.h,v 1.17 2019/02/16 23:16:54 deraadt Exp $ */ +/* $Id: extern.h,v 1.18 2019/02/17 18:11:50 deraadt Exp $ */ /* * Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv> * @@ -118,6 +118,7 @@ struct opts { int specials; /* --specials */ char *rsync_path; /* --rsync-path */ char *ssh_prog; /* --rsh or -e */ + char *port; /* --port */ }; /* |