summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpctl/irr_parser.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/bgpctl/irr_parser.c')
-rw-r--r--usr.sbin/bgpctl/irr_parser.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/bgpctl/irr_parser.c b/usr.sbin/bgpctl/irr_parser.c
index 6a21bced1d5..f9fe2e2f149 100644
--- a/usr.sbin/bgpctl/irr_parser.c
+++ b/usr.sbin/bgpctl/irr_parser.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: irr_parser.c,v 1.3 2007/03/04 12:27:46 henning Exp $ */
+/* $OpenBSD: irr_parser.c,v 1.4 2007/03/04 12:37:07 henning Exp $ */
/*
* Copyright (c) 2007 Henning Brauer <henning@openbsd.org>
@@ -211,7 +211,7 @@ parse_policy(char *key, char *val)
struct policy_item *pi;
enum pdir dir;
enum policy_parser_st st = PO_NONE, nextst;
- char *tok, *router = NULL, *p;
+ char *tok, *router = "", *p;
if (!strcmp(key, "import"))
dir = IMPORT;