]> git.ipfire.org Git - thirdparty/bird.git/commit - sysdep/unix/krt.c
Separated `official protocol names' used in status dumps from name templates
authorMartin Mares <mj@ucw.cz>
Mon, 17 Jan 2000 11:52:50 +0000 (11:52 +0000)
committerMartin Mares <mj@ucw.cz>
Mon, 17 Jan 2000 11:52:50 +0000 (11:52 +0000)
commitd272fe22dddcb5c293d6aac18d36e3e3e66406a5
tree20710583efb431b87ce836c068825dc12be7f0d2
parentf7fcb752520759ab3aed274ca608e8e6f96665c8
Separated `official protocol names' used in status dumps from name templates
used for automatic generation of instance names.

protocol->name is the official name
protocol->template is the name template (usually "name%d"),
should be all lowercase.

Updated all protocols to define the templates, checked that their configuration
grammar includes proto_name which generates the name and interns it in the
symbol table.
13 files changed:
TODO
conf/cf-lex.l
conf/conf.h
nest/config.Y
nest/protocol.h
nest/rt-dev.c
proto/ospf/ospf.c
proto/pipe/pipe.c
proto/rip/rip.c
proto/static/static.c
proto/static/static.h
sysdep/unix/krt.Y
sysdep/unix/krt.c