From d272fe22dddcb5c293d6aac18d36e3e3e66406a5 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Mon, 17 Jan 2000 11:52:50 +0000 Subject: 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. --- proto/rip/rip.c | 1 + 1 file changed, 1 insertion(+) (limited to 'proto/rip/rip.c') diff --git a/proto/rip/rip.c b/proto/rip/rip.c index d863fa3..b8338a5 100644 --- a/proto/rip/rip.c +++ b/proto/rip/rip.c @@ -789,6 +789,7 @@ rip_postconfig(struct proto_config *c) struct protocol proto_rip = { name: "RIP", + template: "rip%d", preconfig: rip_preconfig, postconfig: rip_postconfig, get_route_info: rip_get_route_info, -- cgit v1.2.3