Go to file
Andreas Henriksson f0b34d2d98 ip a flush: unnecessarily chatty when there's nothing to flush
On tis, 2008-07-22 at 20:21 +0200, martin f krafft wrote:
> piper:~|master|% sudo ip a flush dev eth0 >/dev/null
> Nothing to flush.
>
> It should just shut up, shouldn't it? :)

The patch below makes the "Nothing to flush" only visible when show
statistics flag is given, and then only to stdout rather then stderr.

$ sudo ./ip/ip -s addr flush dev skif
Nothing to flush.
$ sudo ./ip/ip addr flush dev skif
$

(See http://bugs.debian.org/492196 )
2008-09-15 13:57:12 -07:00
doc iproute2: add support for IFLA_NET_NS_PID in ip link 2008-06-23 09:10:47 -07:00
etc/iproute2 Add DSCP values for RFC2597 2008-09-05 15:28:37 -07:00
examples Grab some more CBQ examples from Fedora Core 2005-10-12 22:46:23 +00:00
genl show multicast groups 2007-08-22 10:03:28 -07:00
include Update to 2.6.27 API 2008-09-15 12:05:11 -07:00
ip ip a flush: unnecessarily chatty when there's nothing to flush 2008-09-15 13:57:12 -07:00
lib ip: abbreviation of network-prefix is no longer possible with ip route 2008-09-15 13:56:46 -07:00
man fix syntax errors in ip(8) manpage. 2008-07-31 15:26:43 -07:00
misc Add warning message when MAX_FIELDS reached 2008-06-30 11:57:13 -07:00
netem Fixed installation when changing DESTDIR 2008-07-25 13:40:19 -07:00
tc Update to 2.6.27 API 2008-09-15 12:05:11 -07:00
testsuite Fix modes of test files 2007-09-05 12:00:01 +01:00
.gitignore ignore emacs backup files 2008-02-05 11:41:48 -08:00
ChangeLog Backout the 2.4 utsname hash patch. 2006-03-22 00:07:49 +00:00
configure Change mode of configure to executable. 2006-09-25 11:54:10 -07:00
COPYING Update address of FSF in license 2008-03-08 13:31:03 -08:00
Makefile Fixed installation when changing DESTDIR 2008-07-25 13:40:19 -07:00
README Mention need for db dev package 2006-12-13 17:01:42 -08:00
README.decnet Decnet documentation update 2005-06-13 18:47:56 +00:00
README.distribution Rename: tc/README.distribution -> README.distribution 2004-08-23 20:21:21 +00:00
README.iproute2+tc (Logical change 1.3) 2004-04-15 20:56:59 +00:00
README.lnstat Rename: misc/README.lnstat -> README.lnstat 2004-10-19 20:24:47 +00:00
RELNOTES (Logical change 1.3) 2004-04-15 20:56:59 +00:00

Primary site is:
	http://developer.osdl.org/dev/iproute2

Original FTP site is:
	ftp://ftp.inr.ac.ru/ip-routing/

How to compile this.
--------------------
1. Look at start of Makefile and set correct values for:

KERNEL_INCLUDE should point to correct linux kernel include directory.
Default (/usr/src/linux/include) is right as rule.

arpd needs to have the db4 development libraries. For debian
users this is the package with a name like libdb4.x-dev.
DBM_INCLUDE points to the directory with db_185.h which
is the include file used by arpd to get to the old format Berkely
database routines.  Often this is in the db-devel package.

2. make

The makefile will automatically build a file Config which
contains whether or not ATM is available, etc.

3. To make documentation, cd to doc/ directory , then
   look at start of Makefile and set correct values for
   PAGESIZE=a4		, ie: a4 , letter ...	(string)
   PAGESPERPAGE=2	, ie: 1 , 2 ...		(numeric)
   and make there. It assumes, that latex, dvips and psnup
   are in your path.

Stephen Hemminger
shemminger@osdl.org

Alexey Kuznetsov
kuznet@ms2.inr.ac.ru