summaryrefslogtreecommitdiffstats
path: root/nest/proto.c
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>1999-03-26 22:37:29 +0100
committerMartin Mares <mj@ucw.cz>1999-03-26 22:37:29 +0100
commit4ba84ebc8285c3a5c556fc769101cc29cb3d3708 (patch)
treea8f532314dbde727e7865e005863da28f58269c2 /nest/proto.c
parent241b7311ec5a091b7f3e1a1f2a776f3ef403c500 (diff)
downloadbird-4ba84ebc8285c3a5c556fc769101cc29cb3d3708.tar
bird-4ba84ebc8285c3a5c556fc769101cc29cb3d3708.zip
Slightly better generator of default protocol instance names.
Diffstat (limited to 'nest/proto.c')
-rw-r--r--nest/proto.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/nest/proto.c b/nest/proto.c
index 431c47d..04ee289 100644
--- a/nest/proto.c
+++ b/nest/proto.c
@@ -127,6 +127,7 @@ protos_preconfig(struct config *c)
WALK_LIST(p, protocol_list)
{
debug(" %s", p->name);
+ p->name_counter = 0;
if (p->preconfig)
p->preconfig(p, c);
}