X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/90e389f6ec12e60a62c362296ffcf314feb5b03d..5f2937099a707ddb360954f5c10fe79cfa906110:/include/stg/user.h diff --git a/include/stg/user.h b/include/stg/user.h index 51e8a76d..f0f77bc0 100644 --- a/include/stg/user.h +++ b/include/stg/user.h @@ -62,14 +62,6 @@ public: virtual const TARIFF * GetTariff() const = 0; virtual void ResetNextTariff() = 0; - #ifdef TRAFF_STAT_WITH_PORTS - virtual void AddTraffStatU(int dir, uint32_t ip, uint16_t port, uint32_t len) = 0; - virtual void AddTraffStatD(int dir, uint32_t ip, uint16_t port, uint32_t len) = 0; - #else - virtual void AddTraffStatU(int dir, uint32_t ip, uint32_t len) = 0; - virtual void AddTraffStatD(int dir, uint32_t ip, uint32_t len) = 0; - #endif - virtual const DIR_TRAFF & GetSessionUpload() const = 0; virtual const DIR_TRAFF & GetSessionDownload() const = 0;