diff options
| author | Laurent Vivier <lvivier@redhat.com> | 2025-09-02 09:52:36 +0200 |
|---|---|---|
| committer | Stefano Brivio <sbrivio@redhat.com> | 2025-09-03 20:43:20 +0200 |
| commit | 19328323de82d5a5361fac40b56a5d75723446f3 (patch) | |
| tree | 33675daa8208c5755e6481ac880fce5257db308f /test/lib | |
| parent | d2c33f45f7be0310668d22a74c4484b595899838 (diff) | |
| download | passt-19328323de82d5a5361fac40b56a5d75723446f3.tar passt-19328323de82d5a5361fac40b56a5d75723446f3.tar.gz passt-19328323de82d5a5361fac40b56a5d75723446f3.tar.bz2 passt-19328323de82d5a5361fac40b56a5d75723446f3.tar.lz passt-19328323de82d5a5361fac40b56a5d75723446f3.tar.xz passt-19328323de82d5a5361fac40b56a5d75723446f3.tar.zst passt-19328323de82d5a5361fac40b56a5d75723446f3.zip | |
dhcpv6: move offset initialization out of dhcpv6_opt()
No functional change.
Currently, if dhcpv6_opt() is called with offset set to 0, it will set the
offset to point to DHCPv6 options offset.
To simplify the use of iovec_tail in a later patch, move the initialization
out of the function. Replace all the call using 0 by a call using
the offset of the DHCPv6 options.
Signed-off-by: Laurent Vivier <lvivier@redhat.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'test/lib')
0 files changed, 0 insertions, 0 deletions
