Comments (4)
This should do the trick for the change to ifconfig:
$ diff library/exten-server_info.php /var/www/daloradius/library/exten-server_info.php
206c206,209
< } else {
---
> } elseif (preg_match("/inet [0-9\.]*/i", $ifip, $match)) {
> $match = explode(" ", $match[0]);
> return $match[1];
> } else {
223a227,229
> } elseif (preg_match("/ether [0-9A-F:]*/i", $ifmac, $match)) {
> $match = explode(" ", $match[0]);
> return $match[1];
242a249,251
> } elseif (preg_match("/netmask [0-9\.]*/i", $ifmask, $match)) {
> $match = explode(" ", $match[0]);
> return $match[1];
from daloradius.
@ColinShorts thanks! would you be able to submit a small PR with the change?
I'll be happy to merge it in quickly!
from daloradius.
PR #62 submitted, hope this helps.
from daloradius.
Thanks!
from daloradius.
Related Issues (20)
- How can i change administator password or create new admin user? HOT 1
- Attribute non-existent or inconsistency in your vendor/attribute dictionary
- conf files in Freeradius are not writable via web interface DaloRadius
- Wrong include in graph "New users" file cause warning and fatal error.
- Operators passwords are not encryped and saved in plain text. WHY? HOT 1
- Cannot add/edit groups. HOT 1
- Search Users HOT 1
- Security Vulnerability HOT 1
- default web username and password HOT 3
- daloradius is completely broken on Postgres. HOT 1
- Daloradius v2.1b - Access-Reject in Expiration module - Date format issue. HOT 1
- Happy Birthday to Filippo 🎂 HOT 4
- Empty environment MYSQL_ROOT_PASSWORD
- missing table radhuntgroup HOT 2
- Connecting ldap to daloRadius
- Expiration Date Format HOT 6
- Default Username and Password doesn't match HOT 4
- Install script does not check for write access to /proc HOT 3
- How to uninstall packages added by the script HOT 2
- Browser cannot load images/scripts HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from daloradius.