my $mac = 0xB4; $mac++; my $mac_addr = pack 'C6', $mac; #Or whatever... printf "0x%X\n", unpack 'C6', $mac_addr;
In reply to Re: Increment MAC address
by fauria
in thread Increment MAC address
by mosh
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |