From 760e138601f98c9049c7febe20da53c1a56d7936 Mon Sep 17 00:00:00 2001 From: dlg Date: Wed, 24 Feb 2021 12:33:22 +0000 Subject: [PATCH] fix stoeplitz_n16 and stoeplitz_h16 --- sys/net/toeplitz.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/net/toeplitz.h b/sys/net/toeplitz.h index 9f21fd35389..ca5a50941c1 100644 --- a/sys/net/toeplitz.h +++ b/sys/net/toeplitz.h @@ -1,4 +1,4 @@ -/* $OpenBSD: toeplitz.h,v 1.5 2021/02/21 15:56:25 deraadt Exp $ */ +/* $OpenBSD: toeplitz.h,v 1.6 2021/02/24 12:33:22 dlg Exp $ */ /* * Copyright (c) 2019 David Gwynne @@ -105,9 +105,9 @@ void stoeplitz_to_key(void *, size_t) extern const struct stoeplitz_cache *const stoeplitz_cache; #define stoeplitz_n16(_n16) \ - stoeplitz_cache_n16(stoeplitz_cache, (_n16)) + stoeplitz_hash_n16(stoeplitz_cache, (_n16)) #define stoeplitz_h16(_h16) \ - stoeplitz_cache_h16(stoeplitz_cache, (_h16)) + stoeplitz_hash_h16(stoeplitz_cache, (_h16)) #define stoeplitz_port(_p) stoeplitz_n16((_p)) #define stoeplitz_ip4(_sa4, _da4) \ stoeplitz_hash_ip4(stoeplitz_cache, (_sa4), (_da4)) -- 2.20.1