summaryrefslogtreecommitdiff
path: root/bgpd/bgp_route.c
diff options
context:
space:
mode:
authorPaul Jakma <paul@quagga.net>2009-07-21 14:02:04 +0100
committerPaul Jakma <paul@quagga.net>2009-07-21 14:02:04 +0100
commita294365797da8b72e51507cbf92dbc6940e5103b (patch)
tree618569bcf8a1a5d4f7a0a8192692c5d3e27bbb02 /bgpd/bgp_route.c
parente8eb000e15e2bbe63467d7c056f2b21b72ba7bd6 (diff)
[bgpd] fix typo made by paul in previous commit
Diffstat (limited to 'bgpd/bgp_route.c')
-rw-r--r--bgpd/bgp_route.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bgpd/bgp_route.c b/bgpd/bgp_route.c
index d08cb1e1..bc21f3c6 100644
--- a/bgpd/bgp_route.c
+++ b/bgpd/bgp_route.c
@@ -2726,9 +2726,9 @@ bgp_clear_node_complete (struct work_queue *wq)
static void
bgp_clear_node_queue_init (struct peer *peer)
{
- char wname[sizeof("clear xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx"];
+ char wname[sizeof("clear xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx")];
- snprintf (wname, CLEAR_QUEUE_NAME_LEN, "clear %s", peer->host);
+ snprintf (wname, sizeof(wname), "clear %s", peer->host);
#undef CLEAR_QUEUE_NAME_LEN
if ( (peer->clear_node_queue = work_queue_new (bm->master, wname)) == NULL)