artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
03829ff
)
use IF_NAMESIZE as size of buffer for interface name
author
gsoares
<gsoares@openbsd.org>
Tue, 7 Jan 2014 14:58:40 +0000
(14:58 +0000)
committer
gsoares
<gsoares@openbsd.org>
Tue, 7 Jan 2014 14:58:40 +0000
(14:58 +0000)
OK mpi@ deraadt@
usr.sbin/rtadvd/rtadvd.h
patch
|
blob
|
history
diff --git
a/usr.sbin/rtadvd/rtadvd.h
b/usr.sbin/rtadvd/rtadvd.h
index
745dbd1
..
e41721a
100644
(file)
--- a/
usr.sbin/rtadvd/rtadvd.h
+++ b/
usr.sbin/rtadvd/rtadvd.h
@@
-1,4
+1,4
@@
-/* $OpenBSD: rtadvd.h,v 1.1
6 2013/06/01 01:30:54 brad Exp $
*/
+/* $OpenBSD: rtadvd.h,v 1.1
7 2014/01/07 14:58:40 gsoares Exp $
*/
/* $KAME: rtadvd.h,v 1.20 2002/05/29 10:13:10 itojun Exp $ */
/*
@@
-140,7
+140,7
@@
struct rainfo {
int ifindex;
int advlinkopt; /* bool: whether include link-layer addr opt */
struct sockaddr_dl *sdl;
- char ifname[
16
];
+ char ifname[
IF_NAMESIZE
];
int phymtu; /* mtu of the physical interface */
/* Router configuration variables */