git.samba.org
/
kai
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f9d6ac
)
s3:lib: copy speed, cap, and index in add_interface()
author
Michael Adam
<obnox@samba.org>
Mon, 25 Jan 2016 13:09:37 +0000
(14:09 +0100)
committer
Michael Adam
<obnox@samba.org>
Tue, 26 Jan 2016 06:33:16 +0000
(07:33 +0100)
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source3/lib/interface.c
patch
|
blob
|
history
diff --git
a/source3/lib/interface.c
b/source3/lib/interface.c
index adf8b429eb2c73303e020d64ef1b08aa3a8a95b7..2e4bf0a9de983b62d6e74407c357df9886d61fe2 100644
(file)
--- a/
source3/lib/interface.c
+++ b/
source3/lib/interface.c
@@
-333,6
+333,9
@@
static void add_interface(const struct iface_struct *ifs)
iface->ip = ifs->ip;
iface->netmask = ifs->netmask;
iface->bcast = ifs->bcast;
+ iface->linkspeed = ifs->linkspeed;
+ iface->capability = ifs->capability;
+ iface->if_index = ifs->if_index;
DLIST_ADD(local_interfaces, iface);