diff options
Diffstat (limited to 'src/asn1/asn1_alt.cpp')
-rw-r--r-- | src/asn1/asn1_alt.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/asn1/asn1_alt.cpp b/src/asn1/asn1_alt.cpp index 9fe159356..1fccf6ac0 100644 --- a/src/asn1/asn1_alt.cpp +++ b/src/asn1/asn1_alt.cpp @@ -217,7 +217,7 @@ void AlternativeName::decode_from(BER_Decoder& source) { if(obj.value.size() == 4) { - u32bit ip = load_be<u32bit>(obj.value.begin(), 0); + u32bit ip = load_be<u32bit>(&obj.value[0], 0); add_attribute("IP", ipv4_to_string(ip)); } } |