

def set_relay_option(self, code, value):
    if ((code == LINK_SELECTION) or (code == SERVER_IDENTIFIER_OVERRIDE)):
        value = socket.inet_aton(value)
    elif (code == VSS):
        value = binascii.unhexlify(('01' + code))
    self.relay_options[code] = value

dataset/ETHPy150Open openstack/networking-cisco/networking_cisco/plugins/cisco/cpnr/dhcp_relay.py DhcpPacket.set_relay_option/VarMisuse@59/78 `value`->`code`