From: Ondrej Zajicek (work) Date: Wed, 3 Jan 2018 14:44:05 +0000 (+0100) Subject: Filter: Handle undefined BGP paths as empty X-Git-Tag: v2.0.1~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8f8671bcde738890d312ab91336f101465b3eeac;p=thirdparty%2Fbird.git Filter: Handle undefined BGP paths as empty The same is already done for clists. Also fixes defined() to work properly for paths and clists. --- diff --git a/doc/bird.sgml b/doc/bird.sgml index c725081ad..3a2607b42 100644 --- a/doc/bird.sgml +++ b/doc/bird.sgml @@ -1498,8 +1498,8 @@ if 1234 = i then printn "."; else { like it accesses variables. Attempts to access undefined attribute result in a runtime error; you can check if an attribute is defined by using the defined( attribute ) operator. One notable exception to this -rule are attributes of clist type, where undefined value is regarded as empty -clist for most purposes. +rule are attributes of bgppath and *clist types, where undefined value is +regarded as empty bgppath/*clist for most purposes.