def __modify_service(self, method, vip, port, protocol, **svc_kwargs):
        af, addr = _to_af_union(vip)
        netmask = (1 - (1 << 32)) if af == socket.AF_INET else 128
        out_msg = IpvsMessage(
            method, flags=netlink.MessageFlags.ACK_REQUEST,
            attr_list=IpvsCmdAttrList(
                service=IpvsServiceAttrList(
                    af=af,
                    port=port,
                    protocol=protocol,
                    addr=addr,
                    netmask=netmask,
                    flags=struct.pack(str('=II'), 0, 0),
                    **svc_kwargs
                )
            )
        )
        self.nlsock.execute(out_msg)
dataset/ETHPy150Open facebook/gnlpy/ipvs.py/IpvsClient.__modify_service/swapped operands of `-`