From dfe33257b736fb9dfcc80e81f6e3db9aef6c2b39 Mon Sep 17 00:00:00 2001
From: Peter Hormanns <peter.hormanns@jalin.de>
Date: Sat, 09 Mar 2019 14:51:17 +0100
Subject: [PATCH] generate /etc/network/pac-addr-ipv6

---
 hsarback/src/de/hsadmin/mods/pac/PacProcessorFactory.java |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/hsarback/src/de/hsadmin/mods/pac/PacProcessorFactory.java b/hsarback/src/de/hsadmin/mods/pac/PacProcessorFactory.java
index 0b5d6f8..169c626 100644
--- a/hsarback/src/de/hsadmin/mods/pac/PacProcessorFactory.java
+++ b/hsarback/src/de/hsadmin/mods/pac/PacProcessorFactory.java
@@ -103,7 +103,11 @@
 	}
 
 	private Processor createNetworkInterfacesProc(final Hive hive) throws ProcessorException {
-		return new VelocityProcessor("/de/hsadmin/mods/pac/pac-addr-ipv4.vm", hive, "/etc/network/pac-addr-ipv4", true);
+		return
+			new CompoundProcessor(
+				new VelocityProcessor("/de/hsadmin/mods/pac/pac-addr-ipv4.vm", hive, "/etc/network/pac-addr-ipv4", true),
+				new VelocityProcessor("/de/hsadmin/mods/pac/pac-addr-ipv6.vm", hive, "/etc/network/pac-addr-ipv6", true)
+			);
 	}
 
 	private Processor createIPTablesProc() {

--
Gitblit v1.9.0-SNAPSHOT