Go to file
Benjamin Poirier 4f11b21e02 bridge: vni: Remove stray newlines after each interface
Currently, `bridge vni` outputs an empty line after each interface. This is
not consistent with the output style of other iproute2 commands, in
particular `bridge vlan`. Therefore, remove the empty lines.

If there are scripts that parse the normal text output of `bridge vni`,
those scripts might be broken by the removal of the empty lines. This is a
secondary concern because those scripts should consume the JSON output
instead.

Before:
$ bridge vni
dev               vni              group/remote
vxlan1             4001
                   5000-5010

vxlan2             100

$

After:
$ ./bridge/bridge vni
dev               vni              group/remote
vxlan1             4001
                   5000-5010
vxlan2             100
$

Reviewed-by: Petr Machata <petrm@nvidia.com>
Tested-by: Petr Machata <petrm@nvidia.com>
Signed-off-by: Benjamin Poirier <bpoirier@nvidia.com>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
2023-12-22 09:54:23 -08:00
bash-completion tc: drop support for ATM qdisc 2023-10-30 14:16:29 -07:00
bridge bridge: vni: Remove stray newlines after each interface 2023-12-22 09:54:23 -08:00
dcb dcb: fully initialize flag table 2023-06-28 16:31:33 -07:00
devlink devlink: Support setting port function ipsec_packet cap 2023-10-04 09:23:11 -06:00
doc/actions doc: fix 'infact' --> 'in fact' typo 2022-05-13 16:34:09 -07:00
etc/iproute2 Add Open/R to rt_protos 2021-03-30 03:04:09 +00:00
examples/bpf examples/bpf: add bpf examples with BTF defined maps 2020-11-24 22:14:08 -07:00
genl treewide: fix indentation 2023-06-05 12:49:34 -06:00
include uapi: update stddef.h 2023-12-08 09:27:59 -08:00
ip ip: require RTM_NEWLINK 2023-12-03 10:27:19 -08:00
lib mnl_utils: sanitize incoming netlink payload size in callbacks 2023-12-08 09:30:11 -08:00
man man: Fix malformatted database file locations 2023-12-20 19:45:54 -08:00
misc ss: prevent "Process" column from being printed unless requested 2023-12-06 09:41:09 -08:00
netem netem: add SPDX license header 2023-01-14 09:00:34 -08:00
rdma uapi: update headers from 6.7-rc1 2023-11-13 08:38:58 -08:00
schema bridge: add json schema for bridge fdb show 2016-07-20 12:02:02 -07:00
tc Merge branch 'main' of git://git.kernel.org/pub/scm/network/iproute2/iproute2-next 2023-11-06 12:40:38 -08:00
testsuite tc: remove dsmark qdisc 2023-10-30 11:35:32 -07:00
tipc tipc: use SPDX 2023-01-14 09:00:34 -08:00
vdpa vdpa: consume device_features parameter 2023-09-12 09:56:18 -06:00
.clang-format clang-format: add configuration file 2019-01-17 13:38:23 -08:00
.gitignore Remove leftovers from removed Latex documentation 2018-02-13 16:43:19 -08:00
.mailmap mailmap: map David's mail address 2019-05-15 09:50:42 -07:00
configure configure: drop test for ATM 2023-12-22 09:26:59 -08:00
COPYING Update address of FSF in license 2008-03-08 13:31:03 -08:00
CREDITS CREDITS: add file 2023-05-13 19:25:04 -07:00
MAINTAINERS Add MAINTAINERS file 2023-05-12 15:51:53 -07:00
Makefile Makefile: use /usr/share/iproute2 for config files 2023-11-16 19:21:52 -08:00
README CREDITS: add file 2023-05-13 19:25:04 -07:00
README.devel README: update location of git repositories, remove broken info link 2018-02-13 16:42:51 -08:00
SECURITY.md Add security policy 2023-09-29 16:06:42 -07:00

This is a set of utilities for Linux networking.

Information:
    https://wiki.linuxfoundation.org/networking/iproute2

Download:
    http://www.kernel.org/pub/linux/utils/net/iproute2/

Stable version repository:
    git://git.kernel.org/pub/scm/network/iproute2/iproute2.git

Development repository:
    git://git.kernel.org/pub/scm/network/iproute2/iproute2-next.git

How to compile this.
--------------------
1. libdbm

arpd needs to have the berkeleydb development libraries. For Debian
users this is the package with a name like libdbX.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 Berkeley
database routines.  Often this is in the db-devel package.

2. make

The makefile will automatically build a config.mk file which
contains definitions of libraries that may or may not be available
on the system such as: ATM, ELF, MNL, and SELINUX.

3. include/uapi

This package includes matching sanitized kernel headers because
the build environment may not have up to date versions. See Makefile
if you have special requirements and need to point at different
kernel include files.

Stephen Hemminger
stephen@networkplumber.org

David Ahern
dsahern@gmail.com