=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/nc/netcat.c,v retrieving revision 1.31 retrieving revision 1.32 diff -c -r1.31 -r1.32 *** src/usr.bin/nc/netcat.c 2001/06/27 07:23:58 1.31 --- src/usr.bin/nc/netcat.c 2001/08/02 21:00:14 1.32 *************** *** 1,4 **** ! /* $OpenBSD: netcat.c,v 1.31 2001/06/27 07:23:58 ericj Exp $ */ /* * Copyright (c) 2001 Eric Jackson * --- 1,4 ---- ! /* $OpenBSD: netcat.c,v 1.32 2001/08/02 21:00:14 ericj Exp $ */ /* * Copyright (c) 2001 Eric Jackson * *************** *** 171,179 **** if (lflag && pflag) errx(1, "cannot use -p and -l"); if (lflag && zflag) ! errx(1, "cannot use -p and -l"); if (!lflag && kflag) ! errx(1, "must use -k with -l"); /* Initialize addrinfo structure */ memset(&hints, 0, sizeof(struct addrinfo)); --- 171,179 ---- if (lflag && pflag) errx(1, "cannot use -p and -l"); if (lflag && zflag) ! errx(1, "cannot use -z and -l"); if (!lflag && kflag) ! errx(1, "must use -l with -k"); /* Initialize addrinfo structure */ memset(&hints, 0, sizeof(struct addrinfo));