summaryrefslogtreecommitdiff
path: root/src/conf_mode/mdns_repeater.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/conf_mode/mdns_repeater.py')
-rwxr-xr-xsrc/conf_mode/mdns_repeater.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/conf_mode/mdns_repeater.py b/src/conf_mode/mdns_repeater.py
index e648fd64f..474a6a5cf 100755
--- a/src/conf_mode/mdns_repeater.py
+++ b/src/conf_mode/mdns_repeater.py
@@ -18,8 +18,8 @@
import sys
import os
+
import netifaces
-import time
from vyos.config import Config
from vyos import ConfigError
@@ -59,7 +59,7 @@ def verify(mdns):
return None
def generate(mdns):
- config_header = '### Autogenerated by vyos-update-mdns-repeater.py on {tm} ###\n'.format(tm=time.strftime("%a, %d %b %Y %H:%M:%S", time.localtime()))
+ config_header = '### Autogenerated by mdns_repeater.py ###\n'
if len(mdns) > 0:
config_args = 'DAEMON_ARGS="' + ' '.join(str(e) for e in mdns) + '"\n'
else: