diff options
author | Jan Engelhardt <jengelh@computergmbh.de> | 2008-01-21 06:18:08 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 18:08:44 -0500 |
commit | 1e637c74b0f84eaca02b914c0b8c6f67276e9697 (patch) | |
tree | 18e42bbac80529c36ac3e6a8e5b68538e0db10df /net/core | |
parent | 96750162b5f7350ec7ba7cf747a6623858d65dd2 (diff) |
[IPV4]: Enable use of 240/4 address space.
This short patch modifies the IPv4 networking to enable use of the
240.0.0.0/4 (aka "class-E") address space as propsed in the internet
draft draft-fuller-240space-00.txt.
Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de>
Acked-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core')
-rw-r--r-- | net/core/pktgen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/pktgen.c b/net/core/pktgen.c index d18fdb102360..eebccdbdbaca 100644 --- a/net/core/pktgen.c +++ b/net/core/pktgen.c | |||
@@ -2266,7 +2266,7 @@ static void mod_cur_headers(struct pktgen_dev *pkt_dev) | |||
2266 | 2266 | ||
2267 | while (ipv4_is_loopback(s) || | 2267 | while (ipv4_is_loopback(s) || |
2268 | ipv4_is_multicast(s) || | 2268 | ipv4_is_multicast(s) || |
2269 | ipv4_is_badclass(s) || | 2269 | ipv4_is_lbcast(s) || |
2270 | ipv4_is_zeronet(s) || | 2270 | ipv4_is_zeronet(s) || |
2271 | ipv4_is_local_multicast(s)) { | 2271 | ipv4_is_local_multicast(s)) { |
2272 | t = random32() % (imx - imn) + imn; | 2272 | t = random32() % (imx - imn) + imn; |