nozzle_del_ip3
Equivalent of ip addr del or ifconfig del <ipaddress/prefix>
Usage
#include <libnozzle.h>
int nozzle_del_ip(
nozzle_t nozzle,
const char *ipaddr,
const char *prefix
);
Overview
nozzle_del_ip
nozzle - pointer to the nozzle struct
ipaddr - string containing either an IPv4 or an IPv6 address.
prefix - 24, 64 or any valid network prefix for the requested address.
Return value
0 on success -1 on error and errno is set.
Releases
4 releases since Debian 10 (Buster); the text changed 3 times.