#578667 ferm: mod mark mark $var/$var is not accepted

#578667#5
Date:
2010-04-21 16:23:16 UTC
From:
To:
Hi,

this construct

@def $to_up210=1024;
chain POSTROUTING mod mark mark $to_up210 outerface unt210 SNAT ...

doesn't compile (error message).

Workaround:

@def $mask_up210="$to_up210/$to_up210";
mod mark mark $mask_up210 outerface unt210 SNAT ...

I would love to have the first construct work to avoid the temp
variable.

Greetings
Marc

#578667#10
Date:
2011-09-13 17:01:11 UTC
From:
To:
I guess that was made to mean:

chain POSTROUTING mod mark mark $to_up210/$to_up210 outerface unt210 SNAT ...

otherwise the report would not make sense.

Greetings
Marc