How to use the pyrad.tools.DecodeInteger function in pyrad

To help you get started, we’ve selected a few pyrad examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github jamiesun / PyRadius / radiusd / utils.py View on Github external
def get_acctoutputoctets(self):
        try:return tools.DecodeInteger(self.get(43)[0])
        except:return None
github jamiesun / PyRadius / radiusd / utils.py View on Github external
def get_nasport(self):
        try:return tools.DecodeInteger(self.get(5)[0])
        except:return None
github jamiesun / PyRadius / radiusd / utils.py View on Github external
def get_acctstatustype(self):
        try:return tools.DecodeInteger(self.get(40)[0])
        except:return None
github jamiesun / PyRadius / radiusd / utils.py View on Github external
def get_acctinputgigawords(self):
        try:return tools.DecodeInteger(self.get(52)[0])
        except:return None
github jamiesun / PyRadius / radiusd / utils.py View on Github external
def get_sessiontimeout(self):
        try:return tools.DecodeInteger(self.get(27)[0])
        except:return None
github jamiesun / PyRadius / radiusd / utils.py View on Github external
def get_acctterminatecause(self):
        try:return tools.DecodeInteger(self.get(49)[0])
        except:return None