summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-04-12 22:32:22 +0200
committerChristian Poessinger <christian@poessinger.com>2020-04-12 22:32:22 +0200
commitd3b17a9f383ebf2f34edcbd1c0e2e911f6ecaeba (patch)
tree0c89152b2f78bf49b35358c4f075dd4e7cb43f4a
parent0cbad2850451af896c997774cbd63812cdaf9f37 (diff)
downloadvyos-1x-d3b17a9f383ebf2f34edcbd1c0e2e911f6ecaeba.tar.gz
vyos-1x-d3b17a9f383ebf2f34edcbd1c0e2e911f6ecaeba.zip
dhcp-server: T2185: add comment on config dir generation
-rwxr-xr-xsrc/conf_mode/dhcp_server.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/conf_mode/dhcp_server.py b/src/conf_mode/dhcp_server.py
index 39f2921cd..da01f16eb 100755
--- a/src/conf_mode/dhcp_server.py
+++ b/src/conf_mode/dhcp_server.py
@@ -594,6 +594,7 @@ def generate(dhcp):
if not dhcp or dhcp['disabled']:
return None
+ # Create configuration directory on demand
dirname = os.path.dirname(config_file)
if not os.path.isdir(dirname):
os.mkdir(dirname)