Feature #9523 ยป pfsense-ladvd-description.diff
| ladvd.inc 2019-05-12 15:01:38.631199000 +0000 | ||
|---|---|---|
|
$cmdline .= "-N ";
|
||
|
}
|
||
|
if (!empty($ladvd_conf['hostname_portdescription'])) {
|
||
|
$cmdline .= "-y ";
|
||
|
}
|
||
|
if (!empty($ladvd_conf['hostname_portname'])) {
|
||
|
$cmdline .= "-z ";
|
||
|
}
|
||
|
$ifaces = explode(",", $ladvd_conf['iface_array']);
|
||
|
$ifs = array();
|
||
|
foreach ($ifaces as $if) {
|
||
|
-- /home/jason/ladvd.xml 2019-05-12 14:56:57.502756000 +0000
|
||
|
++ ladvd.xml 2019-05-12 15:00:59.424280000 +0000
|
||
| ... | ... | |
|
<description>Enable NDP (Nortel Discovery Protocol); formerly called SynOptics Network Management Protocol (SONMP).</description>
|
||
|
<type>checkbox</type>
|
||
|
</field>
|
||
|
<field>
|
||
|
<fielddescr>Set description with peer hostname/port description</fielddescr>
|
||
|
<fieldname>hostname_portdescription</fieldname>
|
||
|
<description>Save received peer hostname and port description in interface descriptions (requires SIOCSIFDESCR support) or Linux ifAliases. This also enables receive mode.</description>
|
||
|
<type>checkbox</type>
|
||
|
</field>
|
||
|
<field>
|
||
|
<fielddescr>Set description with peer hostname/port name</fielddescr>
|
||
|
<fieldname>hostname_portname</fieldname>
|
||
|
<description>Save received peer hostname and port name in interface descriptions (requires SIOCSIFDESCR support) or Linux ifAliases. This also enables receive mode.</description>
|
||
|
<type>checkbox</type>
|
||
|
</field>
|
||
|
</fields>
|
||
|
<custom_php_resync_config_command>ladvd_resync_config();</custom_php_resync_config_command>
|
||
|
</packagegui>
|
||