On Tue, Sep 15, 2020 at 01:34:23AM +0300, Sergey Kulikov wrote:
I was writing import filter to use with both v4 and v6 prefixes and set krt_prefsrc, so I need to identify prefix belonging to v4 or v6. So docs saying this: "Whether the address is IPv4 or not may be checked by .is_ip4 which returns a bool." But it's not working, and as I can see from sources in fact correct name for that function is ".is_v4" in config.Y: | term '.' IS_V4 { $$ = f_new_inst(FI_IS_V4, $1); }
Thanks, fixed
and it works, is this mailing list correct place to report this typo? Other users can experience issues trying to use ".is_ip4".
Yes -- Elen sila lumenn' omentielvo Ondrej 'Santiago' Zajicek (email: santiago@crfreenet.org) OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net) "To err is human -- to blame it on a computer is even more so."