[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

(usagi-users 01932) Rearranging the entries of "if_inet6" file.



Hi, thanks for the reply.
One more question.
How can I rearrange the entries of the "if_inet6" file found in "/proc/net"
folder of linux machine.
The entry is,

00000000000000000000000000000001 01 80 10 80       lo
fe800000000000000250bafffe8c9b65 02 0a 20 80     eth0

I have to reverse the order of the entries.
I tried both the "ifconfig" and "ip" programs comes with Linux.
I have deleted both of the entries and added them in both order.
But the local loop entry always comes first. But I need the ethernet entry
first and local loop
entry as second. How can I do it....?

regards
-Sijo


----- Original Message -----
From: <YOSHIFUJI Hideaki / $B5HF#1QL@ (B <yoshfuji@xxxxxxxxxxxxxx>)>
To: <sijo@xxxxxxxxxx>
Cc: <usagi-users@xxxxxxxxxxxxxx>
Sent: Monday, November 04, 2002 7:53 PM
Subject: Re: (usagi-users 01927) "netstat" shows different IP address.


> In article <005401c283ff$d5ed6800$5900000a@sijo> (at Mon, 4 Nov 2002
18:13:48 +0530), "Sijo Mathew" <sijo@xxxxxxxxxx> says:
>
> >      IPv6 address of my system is  "fe80::250:baff:fe8c:9b65".
> > But netstat shows the IP as "fe80::250:baff:fe8" in the following
listing
> > (with port numbers 6524, 6525).
>
> netstat always truncates addresses.
> I've commited some codes to stop truncation of addresses if -v
> option is specified.
>
> Thanks.
>
> --
> Hideaki YOSHIFUJI @ USAGI Project <yoshfuji@xxxxxxxxxxxxxx>
> GPG FP: 9022 65EB 1ECF 3AD1 0BDF  80D8 4807 F894 E062 0EEA