odhcp6c: allow to request specific ipv6 prefix master
authorVladislav Grishenko <themiron@mail.ru>
Thu, 25 Jul 2024 19:51:09 +0000 (00:51 +0500)
committerdedeckeh <dedeckeh@gmail.com>
Wed, 25 Sep 2024 18:33:53 +0000 (20:33 +0200)
commitb6ae9ffaeb0e18e9fa3d5be62faa8d3c9f340a58
tree5a89afb027a28574608eaf88db2c0bb2f9cb8832
parentbcd283632ac13391aac3ebdd074d1fd832d76fa3
odhcp6c: allow to request specific ipv6 prefix

Expand -P option with optional exact ipv6 prefix format.
This allows to keep the IPv6 prefix in some cases, for example
if the prefix is issued dynamically on upstream.

Examples:
    -P <length>
    -P <prefix/length>

Based on https://github.com/openwrt/odhcp6c/pull/86
src/dhcpv6.c
src/odhcp6c.c
src/odhcp6c.h