2a674b4 sd-dhcp6-client: fix off-by-one error in parsing dhcp6 options

2 files Authored by Yu Watanabe 2 years ago, Committed by zbyszek 2 years ago,
    sd-dhcp6-client: fix off-by-one error in parsing dhcp6 options
    
    This fixes error in parsing message when the rapid commit option is
    located at the end of the message.
    
    Fixes an issure reported in #24002.
    
    (cherry picked from commit 68870a46b3b5d3d5b51d1c27b4128b8fb5188ecb)