From 0de46d0ec7fb7e554ce8aded521eaa4cac8cacaa Mon Sep 17 00:00:00 2001 From: Stanislav Ievlev Date: Thu, 22 Jan 2009 19:25:50 +0300 Subject: [PATCH] - fix typo --- alterator-net-common/tools/netname | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/alterator-net-common/tools/netname b/alterator-net-common/tools/netname index ee1f712..b04c24f 100755 --- a/alterator-net-common/tools/netname +++ b/alterator-net-common/tools/netname @@ -29,7 +29,7 @@ printf '%s.%s.%s.%s/%s' \ if [ "$len" -lt 31 ] ;then printf ' %s.%s.%s.%s %s.%s.%s.%s\n' \ "$n1" "$n2" "$n3" "$(( $n4 | 1 ))" \ - "$b1" "$b2" "$b2" "$(( $b4 & 0xfe ))" + "$b1" "$b2" "$b3" "$(( $b4 & 0xfe ))" elif [ "$len" -eq 31 ] ;then printf ' %s.%s.%s.%s %s.%s.%s.%s\n' \ "$n1" "$n2" "$n3" "$n4" \