From 7c10dee0f39202a2e6717ce9620da1833958c42d Mon Sep 17 00:00:00 2001 From: Rafael Zalamena Date: Tue, 17 Jan 2017 16:54:41 +0000 Subject: Make switch(4) compile with debug again. --- sys/net/switchofp.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/sys/net/switchofp.c b/sys/net/switchofp.c index 500195d96a6..19754c6435b 100644 --- a/sys/net/switchofp.c +++ b/sys/net/switchofp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: switchofp.c,v 1.57 2017/01/17 16:47:55 rzalamena Exp $ */ +/* $OpenBSD: switchofp.c,v 1.58 2017/01/17 16:54:40 rzalamena Exp $ */ /* * Copyright (c) 2016 Kazuya GODA @@ -1599,8 +1599,8 @@ swofp_flow_timeout(struct switch_softc *sc) if (swfe->swfe_idle_timeout) { timespecsub(&now, &swfe->swfe_idle_time, &idle); if (swfe->swfe_idle_timeout < idle.tv_sec) { - DPRINTF(sc, "flow(id:%d) expired " - "by idle timeout\n", swfe->swfe_id); + DPRINTF(sc, "flow expired " + "by idle timeout\n"); swofp_flow_entry_delete(sc, swft, swfe, OFP_FLOWREM_REASON_IDLE_TIMEOUT); continue; @@ -1610,8 +1610,8 @@ swofp_flow_timeout(struct switch_softc *sc) timespecsub(&now, &swfe->swfe_installed_time, &duration); if (swfe->swfe_hard_timeout < duration.tv_sec) { - DPRINTF(sc, "flow(id:%d) expired " - "by hard timeout\n", swfe->swfe_id); + DPRINTF(sc, "flow expired " + "by hard timeout\n"); swofp_flow_entry_delete(sc, swft, swfe, OFP_FLOWREM_REASON_HARD_TIMEOUT); } -- cgit v1.2.3