dhcp attempts

This commit is contained in:
2024-10-13 05:32:44 +06:00
parent ec9dcc76f7
commit 480a4a1ca5
12 changed files with 329 additions and 63 deletions

14
include/debug.h Normal file
View File

@@ -0,0 +1,14 @@
#ifndef DEBUG_H
#define DEBUG_H
#include <stdio.h>
#include "config.h"
#ifdef DEBUG_MODE
#define DEBUG_PRINT(fmt, ...) printf(fmt, ##__VA_ARGS__)
#else
#define DEBUG_PRINT(fmt, ...)
#endif
#endif // DEBUG_H