]> git.ipfire.org Git - people/sennis/libloc.git/commitdiff
location-exporter: ipset: Add line break after header
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 5 Dec 2019 15:38:34 +0000 (15:38 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 5 Dec 2019 15:38:34 +0000 (15:38 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/python/location-exporter.in

index 28f761aa5055996cc4da0e4556abf6fb898ee88c..1e3be265c4977465d9132ff8c954d9c659e02224 100644 (file)
@@ -123,7 +123,7 @@ class IpsetOutputWriter(OutputWriter):
        suffix = "ipset"
 
        def _write_header(self, f):
-               h = "create %s hash:net family inet hashsize 1024 maxelem 65536" % self.name
+               h = "create %s hash:net family inet hashsize 1024 maxelem 65536\n" % self.name
 
                f.write(h.encode("ascii"))