diff options
author | Bart De Schuymer <bdschuym@pandora.be> | 2010-04-22 06:57:57 +0000 |
---|---|---|
committer | Bart De Schuymer <bdschuym@pandora.be> | 2010-04-22 06:57:57 +0000 |
commit | a64fd6ce403fee3d45ff41fcce4ffd44459d7a5a (patch) | |
tree | 5869b299fb611ee87bd68d933f1485a449a58977 | |
parent | 4eba2d4a792e94503537ed7d71dc7babb9d77a59 (diff) | |
download | ebtables-a64fd6ce403fee3d45ff41fcce4ffd44459d7a5a.tar.gz ebtables-a64fd6ce403fee3d45ff41fcce4ffd44459d7a5a.tar.bz2 ebtables-a64fd6ce403fee3d45ff41fcce4ffd44459d7a5a.zip |
fix --among-dst-file, which translated into --among-src (reported by Thierry Watelet)
-rw-r--r-- | extensions/ebt_among.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/ebt_among.c b/extensions/ebt_among.c index 9a30f3a..d6c6885 100644 --- a/extensions/ebt_among.c +++ b/extensions/ebt_among.c @@ -365,7 +365,7 @@ static int parse(int c, char **argv, int argc, ebt_mac_wormhash_size(wh)); h->match_size = EBT_ALIGN(new_size); info = (struct ebt_among_info *) h->data; - if (c == AMONG_DST) { + if (c == AMONG_DST || c == AMONG_DST_F) { info->wh_dst_ofs = old_size; } else { info->wh_src_ofs = old_size; |