forked from hickory-dns/resolv-conf
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add no-strict feature to ignore InvalidDirectives
Fix for hickory-dns#17 It's sometimes desireable to ignore invalid directives so that the supplied configuration can still be used. This change adds a feature flag `no-strict` that when enabled, does not return an `Err(InvalidDirective(_))` when a directive isn't valid. Instead, it skips over it, allowing the configuration to be used.
- Loading branch information
1 parent
f6be686
commit 6df5fa8
Showing
2 changed files
with
7 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters