websockify
websockify copied to clipboard
Added ipv6 support for command wrapping
I updated the rebind.c file to also support ipv6. This allows wrapping of programs listening on ipv6 (for example: [::]:5900 or [::1]:5900)
Thanks for contributing! I'll take a look.
Looks good overall, but it looks like there is both some refactoring and addition of new features.
Yes, I also changed some other things here and there because it was needed for ipv6 (for example storing the ipv6 address)
Could you rework this a bit into separate commits to make your changes easier to follow?
Does it really make sense to rework changes of +47 -18 lines of code in one single file into multiple commits?