Mismatch between code and documentation for default pipe mode

Ondrej Zajicek santiago at crfreenet.org
Mon Mar 5 10:42:16 CET 2012


On Sun, Mar 04, 2012 at 11:51:24PM +0100, Benjamin Cama wrote:
> Hi,
> 
> I had a headache trying to understand why my pipe ???preference??? option
> was ignored, and then found out about pipe ???mode???. The documentation
> says that the default mode is ???opaque??? (see
> http://bird.network.cz/?get_doc&f=bird-6.html#ss6.6 )
> 
> But the code doesn't say so, see
> https://git.nic.cz/redmine/projects/bird/repository/revisions/master/entry/proto/pipe/config.Y#L27 :
> 
>         PIPE_CFG->mode = PIPE_TRANSPARENT;
> 
> What is the intended default?

Hello

This is a bug in the documentation, the transparent mode is the intended
default. Opaque mode is more or less obsolete and is here mostly for
compatibility. When using the transparent mode, you could change
the preference option in filters.

-- 
Elen sila lumenn' omentielvo

Ondrej 'SanTiago' Zajicek (email: santiago at 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."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20120305/2b913b2d/attachment-0001.asc>


More information about the Bird-users mailing list