export: Sightly refactor export logic
This patch moves creating the "tag" (formerly known as prefix) into the
writer class, so that we can modify it based on what output format we
have.
ipset and nftables will need disjunct names for IPv6 and IPv4 because
they cannot handle mixed sets.
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Showing
Please register or sign in to comment