[Bug 253305] net/freeradius3 postgresq queries.conf broken

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Feb 6 18:08:58 UTC 2021


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253305

            Bug ID: 253305
           Summary: net/freeradius3 postgresq queries.conf broken
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: zi at FreeBSD.org
          Reporter: leeb at ratnaling.org
          Assignee: zi at FreeBSD.org
             Flags: maintainer-feedback?(zi at FreeBSD.org)

There is a backslash missing.  Here's a patch

--- /home/ftp/r.pris/raddb/mods-config/sql/main/postgresql/queries.conf
+++ /home/ftp/r.prod/raddb/mods-config/sql/main/postgresql/queries.conf
@@ -502,7 +502,7 @@
                                        FramedInterfaceId =
NULLIF('%{Framed-Interface-Id}', ''), \
                                        DelegatedIPv6Prefix =
NULLIF('%{Delegated-IPv6-Prefix}', '')::inet, \
                                        AcctUpdateTime =
${....event_timestamp}, \
-                                       AcctSessionTime =
COALESCE(%{%{Acct-Session-Time}:-NULL},
+                                       AcctSessionTime =
COALESCE(%{%{Acct-Session-Time}:-NULL}, \
                                                (${....event_timestamp_epoch} -
EXTRACT(EPOCH FROM(AcctStartTime)))), \
                                        AcctInputOctets =
(('%{%{Acct-Input-Gigawords}:-0}'::bigint << 32) + \
                                               
'%{%{Acct-Input-Octets}:-0}'::bigint), \

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list