diff options
author | Phil Davis <phil.davis@inf.org> | 2014-04-12 07:44:29 -0700 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2014-04-14 10:27:22 +0000 |
commit | c30639e445e328879f4df4ce1fc0bcc852ca0d32 (patch) | |
tree | c02334c5aa2851170aa3cbfc354352aa7babfbb7 /usr | |
parent | 33f537179b7314be959484c1d3383cf0bf3a11e0 (diff) | |
download | pfsense-c30639e445e328879f4df4ce1fc0bcc852ca0d32.zip pfsense-c30639e445e328879f4df4ce1fc0bcc852ca0d32.tar.gz |
Get real interface when dhcrelay uses default GW
If the DHCP Relay server is not on any local subnet, and not on any subnet that has an internal static route, but is somewhere that no specific route is known, then this code finds the default gateway and uses that in the DHCP relay "-i" parameter. The current code gets just the interface name (like "wan", "opt1"). But DHCP Relay command needs to be fed the actual device name "vr0", "vr1" etc.
To break this I simply enabled DHCP Relay, select "LAN" interface, and put Destination Server 1.2.3.4
Making this changed fixed it.
Forum: https://forum.pfsense.org/index.php?topic=75010.0
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions