repo.or.cz
/
ferm.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
import-ferm: support empty string parameters
[ferm.git]
/
test
/
misc
/
empty.ferm
blob
a8ddc45e5b921c1adfa8b00c05effc4517b0275d
1
@def $EMPTY = ();
2
@def $X = 1;
3
@def $Y = ($EMPTY $X);
4
5
chain INPUT {
6
saddr $EMPTY REJECT;
7
saddr $X ACCEPT;
8
saddr $Y DROP;
9
daddr () REJECT;
10
daddr (() $X () (() $Y) 2) DROP;
11
}