]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
coa-relay: Typos (#4867)
authorTerry Burton <tez@terryburton.co.uk>
Thu, 26 Jan 2023 14:31:47 +0000 (14:31 +0000)
committerGitHub <noreply@github.com>
Thu, 26 Jan 2023 14:31:47 +0000 (09:31 -0500)
raddb/sites-available/coa-relay

index 1110f322a8aaf1b5f2253ef1c692cccd578b89c8..7dac7b135be1bb090250b4e4c82fc21466c46140 100644 (file)
@@ -163,7 +163,7 @@ server coa {
                                        #
                                        #  If we're sending a CoA packet, send it out.
                                        #
-                                       if ((CoA-Packet-DST-IP-Address && CoA-Packet-DST-IPv6-Address) && \
+                                       if ((CoA-Packet-DST-IP-Address || CoA-Packet-DST-IPv6-Address) && \
                                            CoA-Acct-Session-Id != "") {
                                                detail_coa.accounting
                                        }
@@ -222,8 +222,8 @@ server coa-buffered-reader {
                                        #
                                        #  Those attributes should be listed here.
                                        #
-                                       coa:Acct-Delay-Time !* ANY
-                                       coa:Proxy-State !* ANY
+                                       disconnect:Acct-Delay-Time !* ANY
+                                       disconnect:Proxy-State !* ANY
                                }
 
                                if (CoA-Packet-DST-IP-Address) {
@@ -234,7 +234,7 @@ server coa-buffered-reader {
                                } else {
                                        update {
                                                disconnect:Packet-DST-IPv6-Address := \
-                                                       &CoA-Packet-DST-IP-Address
+                                                       &CoA-Packet-DST-IPv6-Address
                                        }
                                }
                        }
@@ -275,7 +275,7 @@ server coa-buffered-reader {
                                } else {
                                        update {
                                                coa:Packet-DST-IPv6-Address := \
-                                                       &CoA-Packet-DST-IP-Address
+                                                       &CoA-Packet-DST-IPv6-Address
                                        }
                                }