summaryrefslogtreecommitdiff
path: root/accel-pppd/ctrl/ipoe
diff options
context:
space:
mode:
authorDenys Fedoryshchenko <denys.f@collabora.com>2026-09-09 20:01:33 +0300
committerGitHub <noreply@github.com>2026-09-09 20:01:33 +0300
commita4f1102782889367d51c8b298269b232caac1db3 (patch)
treebd824f8f5b15e0a084f6cdbce39b69a40ab34978 /accel-pppd/ctrl/ipoe
parentc414f0a725a16cbd4c7063ff221dabb420b96df5 (diff)
parent78d75b1dcf0d42e6ad5ce8b7203a19e17b9c87dc (diff)
downloadaccel-ppp-a4f1102782889367d51c8b298269b232caac1db3.tar.gz
accel-ppp-a4f1102782889367d51c8b298269b232caac1db3.zip
Merge pull request #357 from nuclearcat/fix-centralize-max
utils: centralize max macro
Diffstat (limited to 'accel-pppd/ctrl/ipoe')
-rw-r--r--accel-pppd/ctrl/ipoe/dhcpv4.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/accel-pppd/ctrl/ipoe/dhcpv4.c b/accel-pppd/ctrl/ipoe/dhcpv4.c
index f1427e17..2bd59437 100644
--- a/accel-pppd/ctrl/ipoe/dhcpv4.c
+++ b/accel-pppd/ctrl/ipoe/dhcpv4.c
@@ -24,15 +24,12 @@
#include "ipdb.h"
#include "radius.h"
#include "dhcp_attr_defs.h"
+#include "utils.h"
#include "dhcpv4.h"
#define BUF_SIZE 4096
-#ifndef max
-#define max(x,y) ((x) > (y) ? (x) : (y))
-#endif
-
struct dhcpv4_relay_ctx {
struct list_head entry;
struct triton_context_t *ctx;