diff options
author | Eric Leblond <eric@regit.org> | 2015-06-24 09:51:50 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2015-06-30 01:32:00 +0200 |
commit | aa7b1a4bd7d5d1c988abc1cad5f4efb6985ffdb5 (patch) | |
tree | ac991463567d296678c395828f073979bc37f200 /tests/symbolic-define.1 | |
parent | 1f3b7755dd27c8a58868cfac8cdbe7690160f9f3 (diff) |
erec: fix logic when reading from file
In case we are reading the rules from a file we need to reset the
file descriptor to the original position when calling erec_print.
This was not the case in previous code and was leading to valid
file to be seen as invalid when treated in debug mode.
Signed-off-by: Eric Leblond <eric@regit.org>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/symbolic-define.1')
0 files changed, 0 insertions, 0 deletions