diff options
author | David Sommerseth <dazo@users.sourceforge.net> | 2010-12-14 18:47:58 +0100 |
---|---|---|
committer | David Sommerseth <dazo@users.sourceforge.net> | 2010-12-14 18:47:58 +0100 |
commit | 6440a3a4592a8c0f0f8fd50cd551b41c1e066efe (patch) | |
tree | ca70948f4f3ee7e4993e2359948102c5631c770b /plugin/firewall | |
parent | 64318873ac1aa92e6377a1a4a53932bcce78d187 (diff) | |
download | eurephia-6440a3a4592a8c0f0f8fd50cd551b41c1e066efe.tar.gz eurephia-6440a3a4592a8c0f0f8fd50cd551b41c1e066efe.tar.xz eurephia-6440a3a4592a8c0f0f8fd50cd551b41c1e066efe.zip |
Implemented proper TUN support in eurephia
Now eurephia will support both TUN and TAP configurations in
OpenVPN.
Thanks to Tavis Paquette and Matthew Gyurgyik for their willingness
to test out this patch.
Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
Diffstat (limited to 'plugin/firewall')
-rw-r--r-- | plugin/firewall/eurephiafw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/firewall/eurephiafw.c b/plugin/firewall/eurephiafw.c index d443e76..4ec2980 100644 --- a/plugin/firewall/eurephiafw.c +++ b/plugin/firewall/eurephiafw.c @@ -472,7 +472,7 @@ int eFW_UpdateFirewall(eurephiaCTX *ctx, eFWupdateRequest *request ) { eurephia_log(ctx, LOG_INFO, 3, "Function call: eFW_UpdateFirewall(ctx, %s, '%.18s', '%s', '%s')", (request->mode == fwADD ? "ADD" : "DELETE"), - request->macaddress, + (ctx->tuntype == tuntype_TAP ? request->macaddress : request->ipaddress), request->rule_destination, request->goto_destination); errno = 0; |