[Openvpn-devel] [PATCH] PATCH V3 - changed remote lenght and refactored get_env

2020-03-26 Thread Paolo Cerrito
--- .gitignore | 1 + src/plugins/auth-pam/auth-pam.c | 8 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 0d68ec4b..3977882f 100644 --- a/.gitignore +++ b/.gitignore @@ -72,3 +72,4 @@ nbproject test-driver compile stamp

[Openvpn-devel] [PATCH] [PATCH V3] - changed remote lenght and refactored get_env

2020-03-26 Thread Paolo Cerrito
1) I put remote lenght to 51, as it have to hold ipv6/ipv4 ip address plus string terminator. 2) As asked, i refactor the call to get_env, so now first of all there is a one call to get_env to get the ipv6 address, if is not set, and only in this case, we recall get_env for ipv4. --- .giti