diff options
author | 2014-04-15 22:35:11 +0000 | |
---|---|---|
committer | 2014-04-15 22:35:11 +0000 | |
commit | 6d2dcbf25fc989f9d8678a3a61d63de307577903 (patch) | |
tree | 58f6a8498b77f7ef67663f61607af5da54e7dd63 | |
parent | All the other old Makefiles are gone, so also remove unused engines (diff) | |
download | wireguard-openbsd-6d2dcbf25fc989f9d8678a3a61d63de307577903.tar.xz wireguard-openbsd-6d2dcbf25fc989f9d8678a3a61d63de307577903.zip |
Print hashkey to debug output, this helps hash-action use cases to be tested.
Use log_debug() instead of log_info().
ok reyk@
-rw-r--r-- | usr.sbin/relayd/relay_http.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/relayd/relay_http.c b/usr.sbin/relayd/relay_http.c index a7925b44c2f..44d47ea2d0d 100644 --- a/usr.sbin/relayd/relay_http.c +++ b/usr.sbin/relayd/relay_http.c @@ -1,4 +1,4 @@ -/* $OpenBSD: relay_http.c,v 1.16 2013/09/04 22:21:32 bluhm Exp $ */ +/* $OpenBSD: relay_http.c,v 1.17 2014/04/15 22:35:11 andre Exp $ */ /* * Copyright (c) 2006 - 2012 Reyk Floeter <reyk@openbsd.org> @@ -1103,10 +1103,11 @@ relay_handle_http(struct ctl_relay_event *cre, struct protonode *proot, con->se_hashkey = HASHINIT; con->se_hashkey = hash32_str(pk->value, con->se_hashkey); con->se_hashkeyset = 1; + log_debug("%s: hash 0x%04x", __func__, con->se_hashkey); ret = PN_PASS; break; case NODE_ACTION_LOG: - log_info("%s: log '%s: %s'", __func__, pn->key, pk->value); + log_debug("%s: log '%s: %s'", __func__, pn->key, pk->value); ret = PN_PASS; break; case NODE_ACTION_MARK: |