Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
test: new test infrastructure
[vpp.git]
/
build-root
/
emacs-lisp
/
tunnel-c-skel.el
diff --git
a/build-root/emacs-lisp/tunnel-c-skel.el
b/build-root/emacs-lisp/tunnel-c-skel.el
index
199e27f
..
aa260e5
100644
(file)
--- a/
build-root/emacs-lisp/tunnel-c-skel.el
+++ b/
build-root/emacs-lisp/tunnel-c-skel.el
@@
-188,7
+188,7
@@
int vnet_" encap_stack "_add_del_tunnel
/* $$$$ use a simple hash if you can ... */
key_copy = clib_mem_alloc (sizeof (*key_copy));
/* $$$$ use a simple hash if you can ... */
key_copy = clib_mem_alloc (sizeof (*key_copy));
- memcpy (key_copy, &key, sizeof (*key_copy));
+
clib_
memcpy (key_copy, &key, sizeof (*key_copy));
hash_set_mem (ngm->" encap_stack "_tunnel_by_key, key_copy,
t - ngm->tunnels);
hash_set_mem (ngm->" encap_stack "_tunnel_by_key, key_copy,
t - ngm->tunnels);