diff options
author | Ludovic Courtès <ludovic.courtes@inria.fr> | 2022-01-06 10:23:43 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2022-01-08 23:27:42 +0100 |
commit | 5c354c204d288439ae5783aae34addaf2004c7a0 (patch) | |
tree | 0787ace71f3a1406db814f407d7bc1ed07e7b813 /tests/egg.scm | |
parent | c487b05d5fd1f27f9515483f6ba5a86bad2a9f45 (diff) | |
download | guix-5c354c204d288439ae5783aae34addaf2004c7a0.tar.gz |
services: networking: Add netmask to loopback address.
Previously, we would get a fishy 127.0.0.1/0 interface: $ ip a show dev lo 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet 127.0.0.1/0 scope global lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever With this change, we get nothing but the "/8" version: $ ip a show dev lo 1: lo: <LOOPBACK,MULTICAST,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope global lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever Reported by Yann Dupont <Yann.Dupont@univ-nantes.fr>. * gnu/services/base.scm (assert-valid-address): Remove special cases for 127.0.0.1 and ::1. (%loopback-static-networking): Add "/8".
Diffstat (limited to 'tests/egg.scm')
0 files changed, 0 insertions, 0 deletions