-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix missing serialisation for from-{unix,abstract}
When adding support for transforming paths/names from existing Unix domain sockets in e332bf5, I forgot to actually add the new fields to the serialisation methods. The effect of this is that when using from-*, we suddenly match *all* the sockets, regardless of whether it's an existing Unix domain socket or not. Our test case didn't catch that because it ran in isolation with only one rule, so I modified the test case to add an unrelated socket that should not be picked up by ip2unix. Signed-off-by: aszlig <[email protected]>
- Loading branch information
Showing
4 changed files
with
71 additions
and
12 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
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