From 92bf3cd33d342891eb5a55db76d0e2e581760023 Mon Sep 17 00:00:00 2001 From: Bram Matthys Date: Fri, 26 Jun 2015 15:29:54 +0200 Subject: [PATCH] upgrade-conf: fix bug with oper::flags if using the old format (3.1.x... hmmmmm...) --- src/updconf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/updconf.c b/src/updconf.c index 29df7bd65..8e5dae377 100644 --- a/src/updconf.c +++ b/src/updconf.c @@ -1042,7 +1042,7 @@ int upgrade_oper_block(ConfigEntry *ce) { if (FlagMappingTable[i].shortflag == *p) { - flags[flagscnt] = cep->ce_vardata; + flags[flagscnt] = FlagMappingTable[i].longflag; flagscnt++; break; }