summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordu.net>2012-01-23 12:49:52 +0100
committerLinus Nordberg <linus@nordu.net>2012-01-23 12:49:52 +0100
commit9c5cd8f617e64e01520443f581a6824f863d4392 (patch)
tree950ae76ff98c1b7b251b9d9a8d5a02427154e26f
parent271907e96102091be52bd8ae2ba32426e0658e04 (diff)
Protect IPv6 addresses in square brackets to avoid misinterpretation.
-rw-r--r--radsecproxy.conf-example4
1 files changed, 2 insertions, 2 deletions
diff --git a/radsecproxy.conf-example b/radsecproxy.conf-example
index 411c47e..d0daf71 100644
--- a/radsecproxy.conf-example
+++ b/radsecproxy.conf-example
@@ -134,7 +134,7 @@ tls default {
# modifyAttribute 1:/^(.*)@local$/\1@example.com/
# }
-client 2001:db8::1 {
+client [2001:db8::1] {
type tls
secret verysecret
# we could specify tls here, e.g.
@@ -180,7 +180,7 @@ realm eduroam.cc {
# accountingServer 127.0.0.1
}
-server 2001:db8::1 {
+server [2001:db8::1] {
type TLS
port 2283
# secret is optional for TLS