aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/bfd/bfd_main.c
diff options
context:
space:
mode:
authorKlement Sekera <ksekera@cisco.com>2017-02-08 07:42:08 +0100
committerKlement Sekera <ksekera@cisco.com>2017-02-08 07:47:37 +0100
commit6f96649d1b6ade7e4730a3b3d0f479c33fd4d764 (patch)
treee27cb1c82e8bba05028a8177e726e04fad4a65df /src/vnet/bfd/bfd_main.c
parent7fce133ca07d35e2207d2d05790b33140bc423ce (diff)
BFD: minor fixes
Change-Id: I1c93f96a752eb2ffd1117a656552131cde1fa489 Signed-off-by: Klement Sekera <ksekera@cisco.com>
Diffstat (limited to 'src/vnet/bfd/bfd_main.c')
-rw-r--r--src/vnet/bfd/bfd_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/bfd/bfd_main.c b/src/vnet/bfd/bfd_main.c
index 798d0631dd7..0c5f1986768 100644
--- a/src/vnet/bfd/bfd_main.c
+++ b/src/vnet/bfd/bfd_main.c
@@ -526,8 +526,8 @@ bfd_add_sha1_auth_section (vlib_buffer_t * b, bfd_session_t * bs)
SHA1 ((unsigned char *) pkt, sizeof (*pkt), hash);
BFD_DBG ("hashing: %U", format_hex_bytes, pkt, sizeof (*pkt));
clib_memcpy (auth->hash, hash, sizeof (hash));
-#endif
}
+#endif
static void
bfd_add_auth_section (vlib_buffer_t * b, bfd_session_t * bs)