summaryrefslogtreecommitdiff
path: root/src/services
diff options
context:
space:
mode:
authorViacheslav <v.gletenko@vyos.io>2021-10-22 11:55:17 +0000
committerViacheslav <v.gletenko@vyos.io>2021-10-22 11:55:17 +0000
commitb1db3de80b8b5f4e2dcbc6d687d342986345c4b2 (patch)
tree077e8f0e5d06bf93f3b36508c17b74c84db5ccb0 /src/services
parent594c57d9b16cac5810f796f15ad7458bd0877435 (diff)
downloadvyos-1x-b1db3de80b8b5f4e2dcbc6d687d342986345c4b2.tar.gz
vyos-1x-b1db3de80b8b5f4e2dcbc6d687d342986345c4b2.zip
hosts: T2683: Allow multiple entries for static-host-mapping
Diffstat (limited to 'src/services')
-rwxr-xr-xsrc/services/vyos-hostsd2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/services/vyos-hostsd b/src/services/vyos-hostsd
index 4c4bb036e..f4b1d0fc2 100755
--- a/src/services/vyos-hostsd
+++ b/src/services/vyos-hostsd
@@ -317,7 +317,7 @@ hosts_add_schema = op_type_schema.extend({
'data': {
str: {
str: {
- 'address': str,
+ 'address': [str],
'aliases': [str]
}
}