summaryrefslogtreecommitdiff
blob: 7566c094e47a27bfefc71894e561734edc0b1183 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
make sure `ip address show` shows addresses

https://bugs.gentoo.org/430320
http://marc.info/?l=linux-netdev&m=134436646508341&w=2

--- a/ip/ipaddress.c
+++ b/ip/ipaddress.c
@@ -1018,7 +1018,7 @@
 		exit(1);
 	}
 
-	if (filter.family && filter.family != AF_PACKET) {
+	if (filter.family != AF_PACKET) {
 		if (filter.oneline)
 			no_link = 1;