1
0
Fork 0

vty: Properly extract the extension, before the LAC was extracted

This commit is contained in:
Holger Hans Peter Freyther 2012-11-10 19:01:35 +01:00
parent e73e749b56
commit 27bfbde0b5
1 changed files with 1 additions and 1 deletions

View File

@ -58,4 +58,4 @@ class NITBSocket(object):
if not self.imsi_present(imsi):
return None
res = self._vty().connectSendAndWait('show subscriber imsi %s' % imsi)
return res.split('\r\n')[3].split(': ')[1]
return res.split('\r\n')[2].split(': ')[1]