Debian Codegraph @

test/mock_paths/test_nc_v6_interface_configured_simple/ifconfig

raw
1 #!/bin/sh
2
3 set -e
4
5 if [ "$1" = "eth0" ]; then
6 cat <<EOF
7 eth0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
8 options=9b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM>
9 ether 2:44:66:88:aa:cc
10 inet6 fe80::44:66ff:fe88:aacc%re0 prefixlen 64 scopeid 0x1
11 inet 0.0.0.0 netmask 0xff000000 broadcast 255.255.255.255
12 inet6 2001:db8::44:66ff:fe88:aacc prefixlen 64 autoconf
13 nd6 options=3<PERFORMNUD,ACCEPT_RTADV>
14 media: Ethernet autoselect (100baseTX <full-duplex>)
15 status: active
16 EOF
17 fi