diff options
| author | Denys Fedoryshchenko <denys.f@collabora.com> | 2026-08-30 02:46:44 +0300 |
|---|---|---|
| committer | Denys Fedoryshchenko <denys.f@collabora.com> | 2026-09-09 18:42:09 +0300 |
| commit | 78d75b1dcf0d42e6ad5ce8b7203a19e17b9c87dc (patch) | |
| tree | bd824f8f5b15e0a084f6cdbce39b69a40ab34978 /accel-pppd/ctrl/ipoe | |
| parent | c414f0a725a16cbd4c7063ff221dabb420b96df5 (diff) | |
| download | accel-ppp-78d75b1dcf0d42e6ad5ce8b7203a19e17b9c87dc.tar.gz accel-ppp-78d75b1dcf0d42e6ad5ce8b7203a19e17b9c87dc.zip | |
utils: centralize max macro
Closes #354
Diffstat (limited to 'accel-pppd/ctrl/ipoe')
| -rw-r--r-- | accel-pppd/ctrl/ipoe/dhcpv4.c | 5 |
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; |
