Révision 529ba86a
Ajouté par N0YB il y a presque 10 ans
usr/local/www/widgets/widgets/gateways.widget.php | ||
---|---|---|
78 | 78 |
echo htmlspecialchars(get_interface_gateway($gateway['friendlyiface'])); |
79 | 79 |
if($gateway['ipprotocol'] == "inet6") |
80 | 80 |
echo htmlspecialchars(get_interface_gateway_v6($gateway['friendlyiface'])); |
81 |
if( (htmlspecialchars(get_interface_gateway($gateway['friendlyiface'])) == '') && (htmlspecialchars(get_interface_gateway_v6($gateway['friendlyiface'])) == '') ) |
|
82 |
echo htmlspecialchars("~"); |
|
81 | 83 |
} |
82 | 84 |
$counter++; |
83 | 85 |
?> |
Formats disponibles : Unified diff
Populate gateway address field with tilde if there is no address or friendly interface.
This is to match the update data.