commit | 6dea9111b5d83c9c7b8be381ef76ff4e3bdd983a | [log] [tgz] |
---|---|---|
author | Vadim Yanitskiy <vyanitskiy@sysmocom.de> | Sat Mar 25 20:01:36 2023 +0700 |
committer | Vadim Yanitskiy <vyanitskiy@sysmocom.de> | Sat Mar 25 20:01:48 2023 +0700 |
tree | 39ac0f2656d320d967bf69efd89890fa05a2470e | |
parent | 95edea9fa7cba66b29fbf0b9dbbedcd3223597f4 [diff] |
InteractVty: re.escape() the VTY prompt in connect() The VTY prompt may contain regular expression metacharacters in it, so the self.re_prompt will not match as expected. One example is the modem app in osmocom-bb.git using promot 'OsmocomBB(modem)'. Change-Id: I47b1f1c1765acb1b935dcbcc54bbb5eb539db4f0