ca97e7cda0
The link state file is always removed on stop. So, we cannot deserialize the address from the file. Moreover, currently the IPv4 link-local address is always dropped by link_drop_foreign_addresses() on restart. Let's drop the serialize/deserialize logic for IPv4 LL address.
14 lines
258 B
C
14 lines
258 B
C
/* SPDX-License-Identifier: LGPL-2.1+ */
|
|
#pragma once
|
|
|
|
#include "conf-parser.h"
|
|
|
|
#define IPV4LL_ROUTE_METRIC 2048
|
|
|
|
typedef struct Link Link;
|
|
|
|
int ipv4ll_configure(Link *link);
|
|
int ipv4ll_update_mac(Link *link);
|
|
|
|
CONFIG_PARSER_PROTOTYPE(config_parse_ipv4ll);
|