| От | Thomas Lockhart |
|---|---|
| Тема | Re: Update: mac.c update, patch now on ftp |
| Дата | |
| Msg-id | 3973C6FB.B7619211@alumni.caltech.edu обсуждение исходный текст |
| Ответ на | Re: Update: mac.c update, patch now on ftp (Larry Rosenman <ler@lerctr.org>) |
| Ответы |
Re: Update: mac.c update, patch now on ftp
|
| Список | pgsql-hackers |
> The code in mac.c does a LINEAR search, and the list is only going to
> grow. It's at 4110+ OUI's that are PUBLIC.).
Yuck. Let's put it into a (user loadable) table. And rather than having
macaddr_manuf(), we should just have a "sametype()" (or whatever) which
can compare an arbitrary mac address with another one. Then
select brand from mactypes where '03:04:...' = macmask;
or at least
select brand from mactypes where sametype('03:04:...',macmask);
would get you the right thing.
I can help with these internals, if that is the right way to head.
- Thomas
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера