Browse Source

With new batcl -m gets deprecated

Michael Schwarz 3 years ago
parent
commit
c33edc79c8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/respondd_client.py

+ 1 - 1
lib/respondd_client.py

@@ -42,7 +42,7 @@ class ResponddClient:
     self._sock.setsockopt(socket.SOL_SOCKET, socket.SO_BINDTODEVICE, bytes(self._config['bridge'], 'UTF-8'))
     self._sock.bind(('::', self._config['port']))
 
-    lines = lib.helper.call(['batctl', '-m', self._config['batman'], 'if'])
+    lines = lib.helper.call(['batctl', 'meshif', self._config['batman'], 'if'])
     for line in lines:
       lineMatch = re.match(r'^([^:]*)', line)
       self.joinMCAST(self._sock, self._config['addr'], lineMatch.group(1))