Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Interface name in MAC field #31

Open
yabiru opened this issue Nov 8, 2018 · 2 comments · May be fixed by #92
Open

Interface name in MAC field #31

yabiru opened this issue Nov 8, 2018 · 2 comments · May be fixed by #92
Labels

Comments

@yabiru
Copy link

yabiru commented Nov 8, 2018

imagen

This only happens with huawei switchs, in other equipment works perfectly. i'm running on Ubuntu Server 16.04.4 x64bits

@Akkadius
Copy link
Owner

Do we have an example of the raw lease in the leases file that this is parsing? I can write a test case around this

@Akkadius Akkadius added the bug label Mar 27, 2019
@yabiru
Copy link
Author

yabiru commented Mar 27, 2019

dhcpd.leases.log

example:

lease 10.12.51.11 {
starts 3 2019/03/27 10:04:06;
ends 4 2019/03/28 10:04:06;
tstp 4 2019/03/28 10:04:06;
cltt 3 2019/03/27 10:04:06;
binding state active;
next binding state free;
rewind binding state free;
hardware ethernet 00:02:02:66:2a:97;
uid "\001\000\002\002f*\227";
set vendor-class-identifier = "AMINOx5x";
option agent.circuit-id "XGigabitEthernet0/0/20:3221";
option agent.remote-id "00:11:22:33:44:55";
client-hostname "AmiNET";
}

imagen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants