Commit 3e8d86ab authored by Michael Tremer's avatar Michael Tremer

network: Copy flags when split into subnets

Signed-off-by: default avatarMichael Tremer <michael.tremer@ipfire.org>
parent adbec5c0
......@@ -533,6 +533,10 @@ LOC_EXPORT int loc_network_subnets(struct loc_network* network,
loc_network_set_asn(*subnet2, asn);
}
// Copy flags
loc_network_set_flag(*subnet1, network->flags);
loc_network_set_flag(*subnet2, network->flags);
return 0;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment