From 0c9267af9b8e19ad9f63ab09213711e602e9ef4c Mon Sep 17 00:00:00 2001 From: Richard T Bonhomme Date: Sun, 12 Dec 2021 02:05:04 +0000 Subject: [PATCH] Add file division markers Signed-off-by: Richard T Bonhomme --- easytls | 4 ++++ easytls-client-connect.sh | 4 ++++ easytls-tctip.lib | 14 ++++++-------- 3 files changed, 14 insertions(+), 8 deletions(-) diff --git a/easytls b/easytls index 9f9081a..81c02de 100755 --- a/easytls +++ b/easytls @@ -5060,6 +5060,8 @@ invalid_address () esac } # => invalid_address () +#=# 9273398a-5284-4c1f-aec5-d597ceb1d085 + # Verbose message verbose_easytls_tctip_lib () { @@ -5412,6 +5414,8 @@ validate_ip6_data () # Return: valid_hextets ; valid_mask_len ; full_valid_ip6_addr } # => validate_ip6_data () +#=# 7f97f537-eafd-40c3-8f31-2fee10c12ad3 + # Base64 encode metadata fields b64_enc_metadata () { diff --git a/easytls-client-connect.sh b/easytls-client-connect.sh index 6109e51..943861d 100755 --- a/easytls-client-connect.sh +++ b/easytls-client-connect.sh @@ -213,6 +213,8 @@ format_number () "${EASYTLS_SED}" -e 's/://g' -e 'y/abcdef/ABCDEF/' } +#=# 9273398a-5284-4c1f-aec5-d597ceb1d085 + # Verbose message verbose_easytls_tctip_lib () { @@ -387,6 +389,8 @@ expand_ip6_address () # Return full_valid_hextets full_subnet_addr6 } # => expand_ip6_address () +#=# b66633f8-3746-436a-901f-29638199b187 + # Allow connection connection_allowed () { diff --git a/easytls-tctip.lib b/easytls-tctip.lib index 4758003..c50cc64 100644 --- a/easytls-tctip.lib +++ b/easytls-tctip.lib @@ -25,6 +25,8 @@ easytls_tctip_lib () "${EASYTLS_PRINTF}" '%s\n' "* easytls-tctip.lib loaded" } +#=# 9273398a-5284-4c1f-aec5-d597ceb1d085 + # Verbose message verbose_easytls_tctip_lib () { @@ -199,6 +201,8 @@ expand_ip6_address () # Return full_valid_hextets full_subnet_addr6 } # => expand_ip6_address () +#=# b66633f8-3746-436a-901f-29638199b187 + # Validate IPv4 data validate_ip4_data () { @@ -341,14 +345,6 @@ validate_ip6_data () # OK : else - # Normal hextet - # Leading zero - #if [ "${hextet}" != "${hextet#0}" ]; then - # [ "${hextet}" = "0" ] || { - # return 14 - # } - #fi - # Range: 0 < hextet < 65535 if [ 0 -gt $(( 0x${hextet} )) ] || [ $(( 0x${hextet} )) -gt 65535 ] then @@ -379,3 +375,5 @@ validate_ip6_data () full_valid_ip6_addr="${valid_hextets}/${valid_mask_len}" # Return: valid_hextets ; valid_mask_len ; full_valid_ip6_addr } # => validate_ip6_data () + +#=# 7f97f537-eafd-40c3-8f31-2fee10c12ad3