summaryrefslogtreecommitdiff
path: root/usr.sbin/dvmrpd
diff options
context:
space:
mode:
authorMarco Pfatschbacher <mpf@cvs.openbsd.org>2008-02-27 15:36:43 +0000
committerMarco Pfatschbacher <mpf@cvs.openbsd.org>2008-02-27 15:36:43 +0000
commitf5a9e2f62deaf0e55a82aade816e3bf32c8ee646 (patch)
tree43fd6b0ee66026e10fd7736444c27ba11f751824 /usr.sbin/dvmrpd
parent4f609e8c67f2c77e5f755e2a57fea77522b23b8c (diff)
Unbreak parser by initializing topfile correctly.
I got fooled by patch(1). Sorry.
Diffstat (limited to 'usr.sbin/dvmrpd')
-rw-r--r--usr.sbin/dvmrpd/parse.y4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/dvmrpd/parse.y b/usr.sbin/dvmrpd/parse.y
index 226e96f7170..72d3be96505 100644
--- a/usr.sbin/dvmrpd/parse.y
+++ b/usr.sbin/dvmrpd/parse.y
@@ -1,4 +1,4 @@
-/* $OpenBSD: parse.y,v 1.14 2008/02/26 10:09:58 mpf Exp $ */
+/* $OpenBSD: parse.y,v 1.15 2008/02/27 15:36:42 mpf Exp $ */
/*
* Copyright (c) 2004, 2005, 2006 Esben Norby <norby@openbsd.org>
@@ -713,7 +713,6 @@ parse_config(char *filename, int opts)
errx(1, "parse_config calloc");
return (NULL);
}
- topfile = file;
defs = &globaldefs;
defs->probe_interval = DEFAULT_PROBE_INTERVAL;
@@ -732,6 +731,7 @@ parse_config(char *filename, int opts)
free(conf);
return (NULL);
}
+ topfile = file;
/* Generation ID must be non decreasing */
gettimeofday(&now, NULL);