this week.
Jim
-Original Message-
From: Peter Eisengrein [mailto:[EMAIL PROTECTED]
Sent: Friday, August 29, 2003 9:06 AM
To: Jim Lancaster; [EMAIL PROTECTED]
Subject: RE: Octetstr to hex conversion
Is this what you mean?
my $hex = unpack("h*",pack("b*",$octets
Title: RE: Octetstr to hex conversion
Is this what you mean?
my $hex = unpack("h*",pack("b*",$octetstr));
-Original Message-
From: Jim Lancaster [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 28, 2003 11:30 AM
To: [EMAIL PROTECTED]
Subject: Octetstr to h
Jim Lancaster wrote:
> I'm polling a Linux server with Net-SNMP and getting back an octetstr
> value for the mac address of the nic. I saw a reference to using unpack
> to convert it in an old posting, but no specifics. How is this done?
> What kind of mask do I use?
Not sure - can you supply a