proto: add point-to-point IPv4 address config support (FS#1037)
authorHans Dedecker <dedeckeh@gmail.com>
Tue, 17 Oct 2017 20:16:43 +0000 (22:16 +0200)
committerHans Dedecker <dedeckeh@gmail.com>
Wed, 18 Oct 2017 20:14:56 +0000 (22:14 +0200)
commit0f96606b7040b8e14190ff055d5761744bc15f6d
tree3beb9a6fbe64b8bb1e307e99f769eb65af562378
parent1ee788dbb10445063d61e58bd3153a7e8e1fce4c
proto: add point-to-point IPv4 address config support (FS#1037)

Add config support support for point-to-point IPv4 addresses by providing
the uci parameter ptpaddr. This allows to support a gateway being in a
different subnet than the assigned IP by modeling the local IP having a
point-to-point address.
This is similar to the point-to-point IPv4 address support already present
for the protocol handlers.

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
Tested-by: Stijn Tintel <stijn@linux-ipv6.be>
interface-ip.c
proto.c