From 756b929678e43f31b527fe46b414e152622848d4 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Sun, 17 Feb 2019 18:11:51 +0000 Subject: 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 --- usr.bin/rsync/extern.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'usr.bin/rsync/extern.h') 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 * @@ -118,6 +118,7 @@ struct opts { int specials; /* --specials */ char *rsync_path; /* --rsync-path */ char *ssh_prog; /* --rsh or -e */ + char *port; /* --port */ }; /* -- cgit v1.2.3