-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow override of public ip, open for someone else (#11)
* Allow override of public ip, open for someone else Sparoid.auth(.., open_for_ip:) Useful when Sparoid.auth operation isn't done on the instance that will connect, e.g. web server letting a browser accessing a host. Performance detail, passing an `Resolv::IPv4` object to `Resolv::IPv4.create` will just trigger early return, so it's fast.
- Loading branch information
Showing
2 changed files
with
16 additions
and
3 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