From owner-freebsd-commit Sun Jan 14 18:18:52 1996 Return-Path: owner-commit Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id SAA08845 for freebsd-commit-outgoing; Sun, 14 Jan 1996 18:18:52 -0800 (PST) Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id SAA08820 for cvs-all-outgoing; Sun, 14 Jan 1996 18:18:42 -0800 (PST) Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id SAA08808 for cvs-usrbin-outgoing; Sun, 14 Jan 1996 18:18:40 -0800 (PST) Received: (from peter@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id SAA08798 Sun, 14 Jan 1996 18:18:38 -0800 (PST) Date: Sun, 14 Jan 1996 18:18:38 -0800 (PST) From: Peter Wemm Message-Id: <199601150218.SAA08798@freefall.freebsd.org> To: CVS-committers, cvs-usrbin Subject: cvs commit: src/usr.bin/netstat inet.c main.c netstat.h route.c Sender: owner-commit@FreeBSD.ORG Precedence: bulk peter 96/01/14 18:18:37 Modified: usr.bin/netstat inet.c main.c netstat.h route.c Log: tidy up the domain name trimming code, and move it to a single place rather than having the same bit of code duplicated in three places, each with their own static copy of the host's local name. Revision Changes Path 1.15 +1 -13 src/usr.bin/netstat/inet.c 1.11 +30 -0 src/usr.bin/netstat/main.c 1.4 +3 -1 src/usr.bin/netstat/netstat.h 1.11 +5 -15 src/usr.bin/netstat/route.c