diff options
author | Stefano Brivio <sbrivio@redhat.com> | 2021-04-22 02:30:20 +0200 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2021-04-22 02:30:20 +0200 |
commit | 49c766398d47846bd837f5aa83b8bec930e3cf0e (patch) | |
tree | f92870d30ca5e4464ea57891bc587b663096e8a5 /udp.c | |
parent | ad60ab1b378da41ba230319eb0e71e3101207a39 (diff) | |
download | passt-49c766398d47846bd837f5aa83b8bec930e3cf0e.tar passt-49c766398d47846bd837f5aa83b8bec930e3cf0e.tar.gz passt-49c766398d47846bd837f5aa83b8bec930e3cf0e.tar.bz2 passt-49c766398d47846bd837f5aa83b8bec930e3cf0e.tar.lz passt-49c766398d47846bd837f5aa83b8bec930e3cf0e.tar.xz passt-49c766398d47846bd837f5aa83b8bec930e3cf0e.tar.zst passt-49c766398d47846bd837f5aa83b8bec930e3cf0e.zip |
dhcpv6: Subtract option length before returning one option
dhcpv6_opt() needs to subtract option length _before_ returning,
so that callers can conveniently pass the remaining length on
subsequent calls.
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'udp.c')
0 files changed, 0 insertions, 0 deletions