From dc593890877acd52ef1d2922d5a508be0b689440 Mon Sep 17 00:00:00 2001 From: Philippe Antoine Date: Mon, 22 Aug 2022 15:11:34 +0200 Subject: [PATCH] dhcp: fix license in detect-dhcp-leasetime.c from search and replace overkill --- src/detect-dhcp-leasetime.c | 4 ++-- src/detect-dhcp-rebinding-time.c | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/detect-dhcp-leasetime.c b/src/detect-dhcp-leasetime.c index 74e25fbde9..94ce052a45 100644 --- a/src/detect-dhcp-leasetime.c +++ b/src/detect-dhcp-leasetime.c @@ -1,7 +1,7 @@ /* Copyright (C) 2022 Open Information Security Foundation * * You can copy, redistribute or modify this Program under the terms of - * the GNU General Public License leasetime 2 as published by the Free + * the GNU General Public License version 2 as published by the Free * Software Foundation. * * This program is distributed in the hope that it will be useful, @@ -10,7 +10,7 @@ * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * leasetime 2 along with this program; if not, write to the Free Software + * version 2 along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA * 02110-1301, USA. */ diff --git a/src/detect-dhcp-rebinding-time.c b/src/detect-dhcp-rebinding-time.c index 2a8ce9d84e..c80c6b483e 100644 --- a/src/detect-dhcp-rebinding-time.c +++ b/src/detect-dhcp-rebinding-time.c @@ -115,7 +115,8 @@ void DetectDHCPRebindingTimeRegister(void) { sigmatch_table[DETECT_AL_DHCP_REBINDING_TIME].name = "dhcp.rebinding_time"; sigmatch_table[DETECT_AL_DHCP_REBINDING_TIME].desc = "match DHCP rebinding time"; - sigmatch_table[DETECT_AL_DHCP_REBINDING_TIME].url = "/rules/dhcp-keywords.html#dhcp-rebinding-time"; + sigmatch_table[DETECT_AL_DHCP_REBINDING_TIME].url = + "/rules/dhcp-keywords.html#dhcp-rebinding-time"; sigmatch_table[DETECT_AL_DHCP_REBINDING_TIME].AppLayerTxMatch = DetectDHCPRebindingTimeMatch; sigmatch_table[DETECT_AL_DHCP_REBINDING_TIME].Setup = DetectDHCPRebindingTimeSetup; sigmatch_table[DETECT_AL_DHCP_REBINDING_TIME].Free = DetectDHCPRebindingTimeFree; -- 2.47.2