New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
stunnel service: allow specifying listening ip #99003
Conversation
sneaked in an actual change, so updated title/original message and Ccing maintainer: Cc @lschuermann thanks! |
Thanks for the contribution, sorry for the delay! The change looks fine to me, works and is in line with the documentation:
Maybe we want to also document this behavior? It's quite unconventional to not put IPv6 addresses in square brackets (which will break). Otherwise, this looks fine. |
examples incorrectly had 'enable' set, the option is not defined and reproducing would error out
4846e31
to
b0ee4c2
Compare
Good point, I've updated the description to the following (and rebased to master while I was at it)
Thanks! |
stunnel config's accept syntax is [host:]port -- this is required to e.g. listen on ipv6 where one would set :::port
b0ee4c2
to
1fb2990
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah! Sorry, hadn't noticed because it looked good here in vim -- you'd think by 2020 editors could automatically expand tabs based on context... :/
Force pushed what amounts to your suggestion, thanks for insisting!
Pinging @JohnAZoidberg as a maintainer. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great, thanks!
you'd think by 2020 editors could automatically expand tabs based on context... :/
We don't use tabs at all ;)
You can use :set expandtab
to expand the tabs always to the same amount.
I know, I really need to take 5 minutes to properly add per project/directory settings... :) Anyway, thanks for merging! |
Motivation for this change
:::port
as a string.Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)