firewall3: fix handling of UTC times
authorJo-Philipp Wich <jo@mein.io>
Wed, 22 Feb 2017 09:46:58 +0000 (10:46 +0100)
committerJo-Philipp Wich <jo@mein.io>
Wed, 22 Feb 2017 09:47:00 +0000 (10:47 +0100)
commit82ccd9e34fe87d31d9909fed754950b2c75bc6ac
tree95f475d8a141351c097249d74461037e71280dbc
parent1949e0cc6feb17d7c32312040da6fc75ea771035
firewall3: fix handling of UTC times

The --utc parameter is deprecated and UTC times are the default now.
To achieve local time, the --kenreltz param has to be passed instead
so invert the logic and swap --utc with --kerneltz.

Fixes #548.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
iptables.c