Mismatch between code and documentation for default pipe mode

Benjamin Cama benoar at dolka.fr
Sun Mar 4 23:51:24 CET 2012


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?

Regards,
Benjamin




More information about the Bird-users mailing list