forked from bsdpot/pot
-
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.
Separate address from netmask or prefix length before validation
The previous commits will help you start a pot that has been configured with alias networking and addresses with netmasks or prefix lengths, but stopping a pot may fail when it tries to remove addresses from network interfaces. If the netmask or prefix length is present, ifconfig(8) won't like it very much when you try to `-alias` a.k.a. `delete`. So we parse the recorded addresses yet again in order to ensure proper cleanup of network addresses. Fixes bsdpot#268
- Loading branch information
Showing
2 changed files
with
11 additions
and
1 deletion.
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