Hi,
I configured some prefixes through the "prefix" command. I then tried to display them
as itis by reading the "ifnet" structure's "if_prefixhead" member. The result is like
this.
Prefix was set as
#prefix wb0 fec0:11::1
the prefix displayed later by reading the ifnet structure is as follows.
The data is in 8bits. (Displayed by using the
printf(" %x\t",ifp->if_prefixhead.next->prefix.s6_addr8[0]); & etc till 15)
The output is like this.
00 00 00 00 00 00 fe c0 00 11 00 00
00 00 00 00
Can any body mail me if I had done some mistake & that's why iam getting the above
result?
Or there is some other place where prefixes are stored & from that place we can get
prefixes correctly?
Are prefixes stored in this way itself?
Kindly reply.
regards
ravi prasad
__________________________________________________________________
Get your own FREE, personal Netscape Webmail account today at
http://webmail.netscape.com/
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message