Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
labs
BIRD Internet Routing Daemon
Commits
4872cef4
Commit
4872cef4
authored
Oct 07, 1999
by
Pavel Machek
Browse files
Added examples of pairs and prefixes
parent
c9f8c1a8
Changes
1
Hide whitespace changes
Inline
Side-by-side
bird.conf
View file @
4872cef4
...
...
@@ -20,7 +20,9 @@ function callme (int arg1; int arg2;)
}
function
startup
()
int
i
;
int
i
;
prefix
px
;
{
print
"Bird filter language: selftesting..."
;
i
=
4
;
...
...
@@ -42,6 +44,10 @@ int i;
print
"IPsets: true = "
1
.
2
.
3
.
4
~ [
1
.
2
.
3
.
3
..
1
.
2
.
3
.
5
];
print
" false = "
1
.
2
.
3
.
4
~ [
1
.
2
.
3
.
3
,
1
.
2
.
3
.
5
];
print
"Testing prefixes: 1.2.3.4/18 = "
1
.
2
.
3
.
4
/
18
;
print
"Testing pairs: (1,2) = "
(
1
,
2
);
print
"Testing functions..."
;
callme
(
1
,
2
, );
callme
(
2
,
2
, );
callme
(
3
,
2
, );
...
...
@@ -49,7 +55,7 @@ int i;
callme
(
7
,
2
, );
print
"done"
;
#
quitbird;
quitbird
;
# print "*** FAIL: this is unreachable";
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment