diff options
author | David Lamparter <equinox@diac24.net> | 2010-02-02 03:28:05 +0100 |
---|---|---|
committer | David Lamparter <equinox@diac24.net> | 2010-02-03 05:27:12 +0100 |
commit | e1ac697441f1147a69aad66207385fdd716a05e7 (patch) | |
tree | 83d0a5591066e37b7373f663964f79c6a8597e89 /lib/if.h | |
parent | a3e5daee7205e8bffb44d914a74d38fe8ad0c986 (diff) | |
download | quagga-e1ac697441f1147a69aad66207385fdd716a05e7.tar.bz2 quagga-e1ac697441f1147a69aad66207385fdd716a05e7.tar.xz |
netlink: process scope value, save it
add struct connected "scope" field, fill it from kernel data and display
it in "show interface" address list.
Diffstat (limited to 'lib/if.h')
-rw-r--r-- | lib/if.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -172,6 +172,9 @@ struct connected /* Label for Linux 2.2.X and upper. */ char *label; + + /* scope value, Linux only */ + unsigned scope; }; /* Does the destination field contain a peer address? */ |