PacketFence - BTS - PacketFence | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0001399 | PacketFence | dhcp | public | 2012-03-15 10:39 | 2015-02-18 10:55 |
| Reporter | maikel | ||||
| Assigned To | |||||
| Priority | normal | Severity | major | Reproducibility | always |
| Status | closed | Resolution | open | ||
| Platform | OS | OS Version | |||
| Product Version | devel | ||||
| Target Version | investigate | Fixed in Version | |||
| fixed in git revision | |||||
| fixed in mtn revision | |||||
| Summary | 0001399: option 82 logger doesnt work with cisco switches | ||||
| Description | The newer PF versions use dhcp.pm from the libaries to look at option 82 messages in dhcp. Older pf had still a shift functions in it to make the array work good for a cisco switch, but this got removed For option82 + cisco this is needed: --- /root/pf/lib/pf/util/dhcp.pm 2012-01-10 07:27:34.000000000 +0100 +++ dhcp.pm 2012-03-15 15:29:06.912135551 +0100 @@ -254,6 +254,10 @@ my @option82 = @{$dhcp_ref->{'options'}{'82'}}; while ( @option82 ) { my $subopt = shift( @option82 ); + #This makes offset assumptions we probably shouldn't, but it should work fine for Cisco + shift( @option82 ); + shift( @option82 ); + my $len = shift( @option82 ); while ($len) { | ||||
| Steps To Reproduce | |||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | https://www.packetfence.org/bugs/file_download.php?file_id=137&type=bug | ||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2012-03-15 10:39 | maikel | New Issue | |||
| 2012-03-15 10:39 | maikel | File Added: dhcp.txt | |||
| 2012-03-16 07:47 | maikel | Note Added: 0002618 | |||
| 2012-10-19 12:18 | fgaudreault | Target Version | => investigate | ||
| 2012-10-19 12:19 | fgaudreault | Note Added: 0003153 | |||
| 2015-02-18 10:55 | lmunro | Note Added: 0003855 | |||
| 2015-02-18 10:55 | lmunro | Status | new => closed | ||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||