diff options
Diffstat (limited to 'build-root/emacs-lisp/tunnel-c-skel.el')
-rw-r--r-- | build-root/emacs-lisp/tunnel-c-skel.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build-root/emacs-lisp/tunnel-c-skel.el b/build-root/emacs-lisp/tunnel-c-skel.el index 199e27f992c..aa260e53333 100644 --- 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)); - 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); |