]> git.ipfire.org Git - thirdparty/iproute2.git/commit
ip monitor: Dont print timestamp or banner-label for cloned routes
authorvadimk <vadim4j@gmail.com>
Thu, 4 Sep 2014 19:48:08 +0000 (22:48 +0300)
committerStephen Hemminger <stephen@networkplumber.org>
Sun, 28 Sep 2014 22:57:52 +0000 (15:57 -0700)
commit2271779d8008d4e6041d0dddeefb1b026669d18c
tree58b20cc0177e01e7f47b94a9d3e4ab54da0736d8
parenteb5d01ff38080935a1a528e4c99cab42bf93d762
ip monitor: Dont print timestamp or banner-label for cloned routes

This is ugly fix but solves the case when timestamp
or banner-label is printed before the cloned route will be skipped
by iproute filter which filters out all cached routes by default.
In such case timestamp will be printed twice:

    Timestamp: Thu Sep  4 19:46:59 2014 457933 usec
    Timestamp: Thu Sep  4 19:47:07 2014 977970 usec
    10.3.5.1 dev wlp3s0 lladdr XX:XX:XX:XX:XX:XX STALE

Signed-off-by: Vadim Kochan <vadim4j@gmail.com>
ip/ipmonitor.c