def get_nas_addr(self): _nas_addr = None try: _nas_addr = tools.DecodeAddress(self.get(4)[0]) except:pass if not _nas_addr: _nas_addr = self.source[0] if _nas_addr != self.source[0]: _nas_addr = self.source[0] return _nas_addr
def get_framed_netmask(self): try: return tools.DecodeAddress(self.get(9)[0]) except: return None
def get_framed_ipaddr(self): try: return tools.DecodeAddress(self.get(8)[0]) except: return None