diff options
author | 2011-07-07 22:32:51 +0000 | |
---|---|---|
committer | 2011-07-07 22:32:51 +0000 | |
commit | 5b398a75932791d4839c1e33602b50b14abf8b3b (patch) | |
tree | 700455b67a6b7d0ecccb38a0957f62790dd2c96d | |
parent | add a script for btd and replace the rc parts (diff) | |
download | wireguard-openbsd-5b398a75932791d4839c1e33602b50b14abf8b3b.tar.xz wireguard-openbsd-5b398a75932791d4839c1e33602b50b14abf8b3b.zip |
We should not have any direct initialization of ifq structures.
(in this case it's unnecessary, bss is initialized to zero at boot)
ok henning
-rw-r--r-- | sys/net/pipex.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/net/pipex.c b/sys/net/pipex.c index e0fbfbff24e..6ee41c1e46c 100644 --- a/sys/net/pipex.c +++ b/sys/net/pipex.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pipex.c,v 1.17 2011/04/05 18:01:21 henning Exp $ */ +/* $OpenBSD: pipex.c,v 1.18 2011/07/07 22:32:51 mcbride Exp $ */ /*- * Copyright (c) 2009 Internet Initiative Japan Inc. @@ -98,8 +98,8 @@ struct timeout pipex_timer_ch; /* callout timer context */ int pipex_prune = 1; /* walk list every seconds */ /* pipex traffic queue */ -struct ifqueue pipexinq = { NULL }; -struct ifqueue pipexoutq = { NULL }; +struct ifqueue pipexinq; +struct ifqueue pipexoutq; struct pipex_tag { struct pipex_session *session; int proto; |