Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 06 Feb 2021 18:08:57 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 253305] net/freeradius3 postgresq queries.conf broken
Message-ID:  <bug-253305-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D253305

            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@FreeBSD.org
          Reporter: leeb@ratnaling.org
          Assignee: zi@FreeBSD.org
             Flags: maintainer-feedback?(zi@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 =3D
NULLIF('%{Framed-Interface-Id}', ''), \
                                        DelegatedIPv6Prefix =3D
NULLIF('%{Delegated-IPv6-Prefix}', '')::inet, \
                                        AcctUpdateTime =3D
${....event_timestamp}, \
-                                       AcctSessionTime =3D
COALESCE(%{%{Acct-Session-Time}:-NULL},
+                                       AcctSessionTime =3D
COALESCE(%{%{Acct-Session-Time}:-NULL}, \
                                                (${....event_timestamp_epoc=
h} -
EXTRACT(EPOCH FROM(AcctStartTime)))), \
                                        AcctInputOctets =3D
(('%{%{Acct-Input-Gigawords}:-0}'::bigint << 32) + \
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
'%{%{Acct-Input-Octets}:-0}'::bigint), \

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-253305-7788>