setipaddr
static int setipaddr(char *);
&& (ret = setipaddr(arg)) == 0) {
&& (i = setipaddr(cmd)) == 0) {