File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / bird2 / filter / test-reconf-end.conf
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Mon Oct 21 16:03:56 2019 UTC (4 years, 7 months ago) by misho
Branches: bird2, MAIN
CVS tags: v2_0_7p0, HEAD
bird2 ver 2.0.7

router id 1.1.1.1;
protocol device {}

function a() {
  return false;
}

function b() {
  return a();
}

function c() {
  return b();
}

filter d {
  if c() then accept; else reject;
}

protocol static {
  ipv4 { import filter d; };
  route 10.0.0.0/24 unreachable;
}

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>