Skip to content

Commit

Permalink
dhcp: move to app-layer
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonish committed Dec 4, 2023
1 parent f6034d2 commit 3aa8bd1
Show file tree
Hide file tree
Showing 11 changed files with 17 additions and 17 deletions.
16 changes: 8 additions & 8 deletions src/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -298,9 +298,9 @@ noinst_HEADERS = \
app-layer/snmp/detect-pdu_type.h \
app-layer/snmp/detect-usm.h \
app-layer/snmp/detect-version.h \
detect-dhcp-leasetime.h \
detect-dhcp-rebinding-time.h \
detect-dhcp-renewal-time.h \
app-layer/dhcp/detect-leasetime.h \
app-layer/dhcp/detect-rebinding-time.h \
app-layer/dhcp/detect-renewal-time.h \
app-layer/ssh/detect-hassh.h \
app-layer/ssh/detect-hassh-server.h \
app-layer/ssh/detect-hassh-server-string.h \
Expand Down Expand Up @@ -399,7 +399,7 @@ noinst_HEADERS = \
output-json-anomaly.h \
app-layer/bittorrent-dht/logger.h \
app-layer/dcerpc/logger.h \
output-json-dhcp.h \
app-layer/dhcp/logger.h \
app-layer/dnp3/logger.h \
app-layer/dnp3/logger-objects.h \
app-layer/dns/logger.h \
Expand Down Expand Up @@ -911,9 +911,9 @@ libsuricata_c_a_SOURCES = \
app-layer/snmp/detect-pdu_type.c \
app-layer/snmp/detect-usm.c \
app-layer/snmp/detect-version.c \
detect-dhcp-leasetime.c \
detect-dhcp-rebinding-time.c \
detect-dhcp-renewal-time.c \
app-layer/dhcp/detect-leasetime.c \
app-layer/dhcp/detect-rebinding-time.c \
app-layer/dhcp/detect-renewal-time.c \
app-layer/ssh/detect-hassh.c \
app-layer/ssh/detect-hassh-server.c \
app-layer/ssh/detect-hassh-server-string.c \
Expand Down Expand Up @@ -1012,7 +1012,7 @@ libsuricata_c_a_SOURCES = \
output-json.c \
output-json-common.c \
app-layer/dcerpc/logger.c \
output-json-dhcp.c \
app-layer/dhcp/logger.c \
app-layer/dnp3/logger.c \
app-layer/dnp3/logger-objects.c \
app-layer/dns/logger.c \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

#include "suricata-common.h"
#include "rust.h"
#include "detect-dhcp-leasetime.h"
#include "app-layer/dhcp/detect-leasetime.h"
#include "detect-engine.h"
#include "detect-engine-mpm.h"
#include "detect-engine-prefilter.h"
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

#include "suricata-common.h"
#include "rust.h"
#include "detect-dhcp-rebinding-time.h"
#include "app-layer/dhcp/detect-rebinding-time.h"
#include "detect-engine.h"
#include "detect-engine-mpm.h"
#include "detect-engine-prefilter.h"
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

#include "suricata-common.h"
#include "rust.h"
#include "detect-dhcp-renewal-time.h"
#include "app-layer/dhcp/detect-renewal-time.h"
#include "detect-engine.h"
#include "detect-engine-mpm.h"
#include "detect-engine-prefilter.h"
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions src/output-json-dhcp.c → src/app-layer/dhcp/logger.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
*/

#include "suricata-common.h"
#include "detect.h"
#include "../../detect.h"
#include "pkt-var.h"
#include "conf.h"

Expand All @@ -41,7 +41,7 @@
#include "app-layer.h"
#include "app-layer-parser.h"

#include "output-json-dhcp.h"
#include "app-layer/dhcp/logger.h"
#include "rust.h"

typedef struct LogDHCPFileCtx_ {
Expand Down
File renamed without changes.
6 changes: 3 additions & 3 deletions src/detect-engine-register.c
Original file line number Diff line number Diff line change
Expand Up @@ -203,9 +203,9 @@
#include "app-layer/rfb/detect-name.h"
#include "detect-target.h"
#include "app-layer/template/detect-rust-buffer.h"
#include "detect-dhcp-leasetime.h"
#include "detect-dhcp-rebinding-time.h"
#include "detect-dhcp-renewal-time.h"
#include "app-layer/dhcp/detect-leasetime.h"
#include "app-layer/dhcp/detect-rebinding-time.h"
#include "app-layer/dhcp/detect-renewal-time.h"
#include "app-layer/snmp/detect-usm.h"
#include "app-layer/snmp/detect-version.h"
#include "app-layer/snmp/detect-community.h"
Expand Down
2 changes: 1 addition & 1 deletion src/output.c
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
#include "app-layer/ike/logger.h"
#include "app-layer/krb5/logger.h"
#include "app-layer/quic/logger.h"
#include "output-json-dhcp.h"
#include "app-layer/dhcp/logger.h"
#include "app-layer/snmp/logger.h"
#include "app-layer/sip/logger.h"
#include "app-layer/rfb/logger.h"
Expand Down

0 comments on commit 3aa8bd1

Please sign in to comment.