artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
43277e5
)
Mark the struct aid name as const char * since it points to static memory.
author
claudio
<claudio@openbsd.org>
Wed, 29 Mar 2023 14:35:38 +0000
(14:35 +0000)
committer
claudio
<claudio@openbsd.org>
Wed, 29 Mar 2023 14:35:38 +0000
(14:35 +0000)
usr.sbin/bgpd/bgpd.h
patch
|
blob
|
history
diff --git
a/usr.sbin/bgpd/bgpd.h
b/usr.sbin/bgpd/bgpd.h
index
21b2391
..
508d598
100644
(file)
--- a/
usr.sbin/bgpd/bgpd.h
+++ b/
usr.sbin/bgpd/bgpd.h
@@
-1,4
+1,4
@@
-/* $OpenBSD: bgpd.h,v 1.46
8 2023/03/28 13:30:31
claudio Exp $ */
+/* $OpenBSD: bgpd.h,v 1.46
9 2023/03/29 14:35:38
claudio Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@
-162,7
+162,7
@@
struct aid {
uint16_t afi;
sa_family_t af;
uint8_t safi;
- c
har
*name;
+ c
onst char
*name;
};
extern const struct aid aid_vals[];