diff options
Diffstat (limited to 'eurephiafw.c')
-rw-r--r-- | eurephiafw.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/eurephiafw.c b/eurephiafw.c index ee4949b..bf60ad1 100644 --- a/eurephiafw.c +++ b/eurephiafw.c @@ -197,11 +197,11 @@ void eFW_StartFirewall(eurephiaCTX *ctx) { sem_wait(ctx->fwcfg->thrdata.semp_worker); eurephia_log(ctx, LOG_INFO, 2, "eFW interface initialised."); - // Flushing the firewall chain for our clients, to make sure it is empty + // Initialise the chain memset(&buf, 0, 1026); - snprintf(buf, 1024, "F %s", fwdest); + snprintf(buf, 1024, "I %s", fwdest); if( mq_send((*ctx->fwcfg).thrdata.msgq, buf, strlen(buf)+1, 1) == -1 ) { - eurephia_log(ctx, LOG_ERROR, 0, "Could not request firewall flushing of the %s chain: %s", + eurephia_log(ctx, LOG_ERROR, 0, "Could not request firewall initialisation of the %s chain: %s", fwdest, strerror(errno)); }; } |