artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
73d6dc3
)
use syntax which more acceptable to older compilers
author
deraadt
<deraadt@openbsd.org>
Mon, 18 Jul 2022 23:09:44 +0000
(23:09 +0000)
committer
deraadt
<deraadt@openbsd.org>
Mon, 18 Jul 2022 23:09:44 +0000
(23:09 +0000)
discussed with tb
usr.sbin/bgpd/kroute.c
patch
|
blob
|
history
diff --git
a/usr.sbin/bgpd/kroute.c
b/usr.sbin/bgpd/kroute.c
index
cad8407
..
4474df8
100644
(file)
--- a/
usr.sbin/bgpd/kroute.c
+++ b/
usr.sbin/bgpd/kroute.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: kroute.c,v 1.27
2 2022/07/14 12:56:37 claudio
Exp $ */
+/* $OpenBSD: kroute.c,v 1.27
3 2022/07/18 23:09:44 deraadt
Exp $ */
/*
* Copyright (c) 2022 Claudio Jeker <claudio@openbsd.org>
@@
-1224,7
+1224,7
@@
kr_show_route(struct imsg *imsg)
static void
kr_send_dependon(struct kif *kif)
{
- struct session_dependon sdon = {
0
};
+ struct session_dependon sdon = {
{0}
};
strlcpy(sdon.ifname, kif->ifname, sizeof(sdon.ifname));
sdon.depend_state = kif->depend_state;