diff options
Diffstat (limited to 'src/tftpd.rs')
| -rw-r--r-- | src/tftpd.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tftpd.rs b/src/tftpd.rs index ae719de..5ff4a54 100644 --- a/src/tftpd.rs +++ b/src/tftpd.rs @@ -276,7 +276,7 @@ impl Tftpd { }; let restrict = || -> Result<RestrictionStatus, RulesetError> { - landlock::Ruleset::new() + landlock::Ruleset::default() .handle_access(access_all)? .create()? .add_rule(PathBeneath::new(pathfd, access))? |
