X-Git-Url: https://mattmccutchen.net/rsync/rsync-patches.git/blobdiff_plain/e66d6d511b675d31a3c55b51fd28d5d2558d094a..6ac9ce9a46c911cbaa7f3d1c33f49f595373622d:/slp.diff diff --git a/slp.diff b/slp.diff index 6a7e227..24c001c 100644 --- a/slp.diff +++ b/slp.diff @@ -126,7 +126,7 @@ diff --git a/loadparm.c b/loadparm.c diff --git a/main.c b/main.c --- a/main.c +++ b/main.c -@@ -1120,6 +1120,18 @@ static int start_client(int argc, char *argv[]) +@@ -1121,6 +1121,18 @@ static int start_client(int argc, char *argv[]) if (!read_batch) { /* for read_batch, NO source is specified */ char *path = check_for_hostspec(argv[0], &shell_machine, &rsync_port); @@ -180,7 +180,7 @@ diff --git a/options.c b/options.c diff --git a/rsync.h b/rsync.h --- a/rsync.h +++ b/rsync.h -@@ -191,6 +191,10 @@ +@@ -193,6 +193,10 @@ #define SIGNIFICANT_ITEM_FLAGS (~(\ ITEM_BASIS_TYPE_FOLLOWS | ITEM_XNAME_FOLLOWS | ITEM_LOCAL_CHANGE)) @@ -220,8 +220,8 @@ diff --git a/rsyncd.conf.yo b/rsyncd.conf.yo --- a/rsyncd.conf.yo +++ b/rsyncd.conf.yo @@ -104,6 +104,15 @@ details on some of the options you may be able to set. By default no - special socket options are set. These settings are superseded by the - bf(--sockopts) command-line option. + special socket options are set. These settings can also be specified + via the bf(--sockopts) command-line option. +dit(bf(slp refresh)) This parameter is used to determine how long service +advertisements are valid (measured in seconds), and is only applicable if @@ -234,7 +234,7 @@ diff --git a/rsyncd.conf.yo b/rsyncd.conf.yo + enddit() - + manpagesection(MODULE PARAMETERS) @@ -652,6 +661,7 @@ use chroot = yes max connections = 4 syslog facility = local5