소스 검색

With new batcl -m gets deprecated

Michael Schwarz 3 년 전
부모
커밋
c33edc79c8
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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))