ostium.proto.encode_block

ostium.proto

encode_block(app, ip, opts) -> line, err

Encode a block command line

opts.ttl is a non-negative integer in seconds (0 or absent means the ipset default); opts.reason is free text, escaped on the wire.