EFW Support
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
Saturday 02 November 2024, 12:35:22 am
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Visit the Official Endian Reference Manual
HERE
14248
Posts in
4376
Topics by
6515
Members
Latest Member:
hulteends
Search:
Advanced search
EFW Support
Support
General Support
Bug (?) in logs_firewall.cgi
0 Members and 1 Guest are viewing this topic.
« previous
next »
Pages:
[
1
]
Author
Topic: Bug (?) in logs_firewall.cgi (Read 9391 times)
BOK
Jr. Member
Offline
Posts: 2
Bug (?) in logs_firewall.cgi
«
on:
Wednesday 15 July 2009, 05:43:56 am »
[First post]
To show the right MAC-address in logs_firewall.cgi I've altered it this way around ("shifted 6 to the left"):
# diff logs_firewall.bak logs_firewall.cgi
314c314
< $macaddr = "$mactemp[6]:$mactemp[7]:$mactemp[8]:$mactemp[9]:$mactemp[10]:$mactemp[11]";
---
> $macaddr = "$mactemp[0]:$mactemp[1]:$mactemp[2]:$mactemp[3]:$mactemp[4]:$mactemp[5]";
The original showed only a generic ff:ff:xx:yy address in the webGUI, Now it show the right MAC-address from interface / bidge br0.
Logged
mrkroket
Hero Member
Offline
Posts: 495
Re: Bug (?) in logs_firewall.cgi
«
Reply #1 on:
Wednesday 15 July 2009, 07:57:10 am »
It's true, I think I did the same change:
# $macaddr = "$mactemp[6]:$mactemp[7]:$mactemp[8]:$mactemp[9]:$mactemp[10]:$mactemp[11]";
$macaddr = "$mactemp[0]:$mactemp[1]:$mactemp[2]:$mactemp[3]:$mactemp[4]:$mactemp[5]";
Long time ago.
Logged
Pages:
[
1
]
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Announcements
-----------------------------
=> Project News
=> Latest News and Updates
-----------------------------
Support
-----------------------------
=> General Support
=> Installation Support
=> EFW SMTP, HTTP, SIP, FTP Proxy Support
=> VPN Support
=> Hardware Support
-----------------------------
Development
-----------------------------
=> EFW Wishlist
=> Contribute Your Customisations & Modifications
Page created in 0.031 seconds with 18 queries.
Powered by SMF 1.1 RC2
|
SMF © 2001-2005, Lewis Media
Design by
7dana.com