Add "include" and "include from" rsyncd.conf options. Contributed
[rsync/rsync.git] / clientserver.c
index 299e771..1cc6437 100644 (file)
@@ -187,6 +187,12 @@ static int rsync_module(int fd, int i)
                gid = atoi(p);
        }
 
+       p = lp_include_from(i);
+       add_exclude_file(p, 1, 1);
+
+       p = lp_include(i);
+       add_include_line(p);
+
        p = lp_exclude_from(i);
        add_exclude_file(p, 1, 0);