FreeNAS/freenas 8d6c522 — gui/services forms.py, src/middlewared/middlewared/etc_files/local rsyncd.conf
Correctly set hostsallow/hostsdeny for RsyncMod This commit fixes a bug where we did not correctly set hostsallow/hostsdeny fields which when an existing was modified, resulted in a value like this "['first_ip']". It also adds validation to the create/update methods ensuring only correct values are accepted.
Delta | File | |
---|---|---|
+40 | -23 | src/middlewared/middlewared/plugins/rsync.py |
+5 | -5 | src/middlewared/middlewared/etc_files/local/rsyncd.conf |
+1 | -0 | gui/services/forms.py |
+46 | -28 | 3 files |