diff options
author | Sergey Skvortsov <skv@FreeBSD.org> | 2010-06-07 15:46:28 +0000 |
---|---|---|
committer | Sergey Skvortsov <skv@FreeBSD.org> | 2010-06-07 15:46:28 +0000 |
commit | 1edf8fc564d1148ca6fc57fb3cc51ff6b28c6f52 (patch) | |
tree | 75500f959db28661c36043f159aa688d3f7ab955 /net-mgmt/ng_ipacct | |
parent | 3d557e2bfc43d29b1b07bc319f8e220a17e7dc6d (diff) | |
download | ports-1edf8fc564d1148ca6fc57fb3cc51ff6b28c6f52.tar.gz ports-1edf8fc564d1148ca6fc57fb3cc51ff6b28c6f52.zip |
Notes
Diffstat (limited to 'net-mgmt/ng_ipacct')
-rw-r--r-- | net-mgmt/ng_ipacct/files/patch-ipacctctl | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/net-mgmt/ng_ipacct/files/patch-ipacctctl b/net-mgmt/ng_ipacct/files/patch-ipacctctl new file mode 100644 index 000000000000..1aac68d91723 --- /dev/null +++ b/net-mgmt/ng_ipacct/files/patch-ipacctctl @@ -0,0 +1,15 @@ +--- ipacctctl/ipacctctl.c.orig 2010-03-29 23:36:30.000000000 +0700 ++++ ipacctctl/ipacctctl.c 2010-03-29 23:37:38.000000000 +0700 +@@ -53,6 +53,10 @@ + + #include "../ng_ipacct/ng_ipacct.h" + ++#ifndef NG_PATHLEN ++#define NG_PATHLEN (NG_PATHSIZ - 1) ++#endif ++ + #define TIME_FMT "%Y/%m/%d %H:%M:%S" /* used in strftime() */ + #define IN_HOOK 0 + #define OUT_HOOK 1 + + |