summaryrefslogtreecommitdiff
path: root/src/services
diff options
context:
space:
mode:
authorViacheslav <v.gletenko@vyos.io>2021-10-22 11:55:17 +0000
committerChristian Poessinger <christian@poessinger.com>2022-07-05 08:38:14 +0200
commitae41b2bacfe1ed30ea8311278e4560d8cfb244ae (patch)
treea2be4ecaf94f279bf81f7371552cf388be6ddbcd /src/services
parentf315714d0c680ad80a79dcdac21576407794dcd1 (diff)
downloadvyos-1x-ae41b2bacfe1ed30ea8311278e4560d8cfb244ae.tar.gz
vyos-1x-ae41b2bacfe1ed30ea8311278e4560d8cfb244ae.zip
hosts: T2683: Allow multiple entries for static-host-mapping
(cherry picked from commit b1db3de80b8b5f4e2dcbc6d687d342986345c4b2)
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]
}
}