M
MaXX
Hi,
I try to extract a information (mac address) in a file dhcpd.conf. I
don't manage to detect the field "hardware ethernet" and extract the
values which follow (values hex). But, i know, for example, "toto" in
the field "host".
So, my file is composed :
host toto {
hardware ethernet 00:05:5b:22:55:96;
fixed-address 192.168.21.55;
}
host titi {
hardware ethernet 00:B0
D
7:FF:78;
fixed-address 192.168.21.56;
}
etc...
if you have a idea...
Thanks
I try to extract a information (mac address) in a file dhcpd.conf. I
don't manage to detect the field "hardware ethernet" and extract the
values which follow (values hex). But, i know, for example, "toto" in
the field "host".
So, my file is composed :
host toto {
hardware ethernet 00:05:5b:22:55:96;
fixed-address 192.168.21.55;
}
host titi {
hardware ethernet 00:B0
fixed-address 192.168.21.56;
}
etc...
if you have a idea...
Thanks