mac.c
mac.c
От:
Larry Rosenman <ler@lerctr.org>
Дата:
OK, so what do I have to do to make a function that returns a masked macaddr? I.E. sets the last 3 bytes to 0x00? That in conjunction with some changes to my ouiparse.awk script and we can put this to bed. Larry -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 972-414-9812 (voice) Internet: ler@lerctr.org US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749
Re: mac.c
От:
Larry Rosenman <ler@lerctr.org>
Дата:
Oh, BTW, I'm inclined to replace macaddr_manuf with this code, but it changes the return type from text to macaddr... LER > OK, so what do I have to do to make a function that returns a > masked macaddr? I.E. sets the last 3 bytes to 0x00? > > That in conjunction with some changes to my ouiparse.awk script and > we can put this to bed. > > Larry > -- > Larry Rosenman http://www.lerctr.org/~ler > Phone: +1 972-414-9812 (voice) Internet: ler@lerctr.org > US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749 -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 972-414-9812 (voice) Internet: ler@lerctr.org US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749