]> git.ipfire.org Git - thirdparty/FORT-validator.git/commitdiff
Fix server.address examples
authorpcarana <pc.moreno2099@gmail.com>
Wed, 25 Nov 2020 22:08:04 +0000 (16:08 -0600)
committerpcarana <pc.moreno2099@gmail.com>
Wed, 25 Nov 2020 22:08:04 +0000 (16:08 -0600)
docs/usage.md
examples/config.json
man/fort.8

index e0b37f44fba4d43f4aea44ff1d44232a3b6afca4..89f4f41f345759565bfeb443fda99f0ad0369ff8 100644 (file)
@@ -882,7 +882,9 @@ The configuration options are mostly the same as the ones from the `argv` interf
        "<a href="#--daemon">daemon</a>": false,
 
        "server": {
-               "<a href="#--serveraddress">address</a>": "127.0.0.1",
+               "<a href="#--serveraddress">address</a>": [
+                       "127.0.0.1"
+               ],
                "<a href="#--serverport">port</a>": "8323",
                "<a href="#--serverbacklog">backlog</a>": 16,
                "interval": {
index 163e306a92e6f128dd27094c38d2140447d87799..0909ea602569d8a380a1a5381c828c7357b0567b 100644 (file)
@@ -7,7 +7,9 @@
   "mode": "server",
   "daemon": false,
   "server": {
-    "address": "127.0.0.1",
+    "address": [
+      "127.0.0.1"
+    ],
     "port": "8323",
     "backlog": 64,
     "interval": {
index 30dfc1390d8e0d4a0aa526dade8313747aa2c67d..4137dde06abf45f53be8e008dad2b737f328beb6 100644 (file)
@@ -79,8 +79,7 @@ Path to a JSON file from where additional configuration will be read.
 The configuration options are mostly the same as the ones presented in this
 manual. Each property is mapped as a member of the main JSON object, the
 members that contain a dot '.' must be set as objects (eg.
-"--server.address=127.0.0.1" will be set as "{ "server": { "address":
-"127.0.0.1" } }".
+"--server.port=8323" will be set as "{ "server": { "port": "8323" } }".
 .P
 An example configuration file can be seen in this manual at the \fBEXAMPLES\fR
 section.
@@ -424,7 +423,7 @@ By default, the mode is \fIserver\fR.
 .RE
 .P
 
-.B \-\-server.address=\fINODE\fR
+.B \-\-server.address=\fINODE(S)\fR
 .RS 4
 List of hostnames or numeric host addresses the RTR server will be bound to.
 Must resolve to (or be) bindable IP addresses. IPv4 and IPv6 are supported.
@@ -1221,7 +1220,9 @@ to a specific value:
   "daemon": false,
   "slurm": "/tmp/fort/test.slurm",
   "server": {
-    "address": "127.0.0.1",
+    "address": [
+      "127.0.0.1"
+    ],
     "port": "8323",
     "backlog": 64,
     "interval": {