Show metric, area and network type in quagga interfaces page [patch]
-
Fed up messing with xml by hand, made a patch.
If $subj isn't descriptive - this patch adds columns "Metric", "Area" and "Network type" to Quagga's interfaces page.
Hope it will be added to package.
Tested on 2.3.2, -p1; Quagga_OSPF v0.6.15 package.
--- /usr/local/pkg/quagga_ospfd_interfaces.xml.orig 2016-12-07 22:24:00.128301000 +0000 +++ /usr/local/pkg/quagga_ospfd_interfaces.xml 2016-12-07 22:37:59.934817000 +0000 @@ -80,7 +80,19 @@ <fielddescr>Description</fielddescr> <fieldname>descr</fieldname> - + <columnitem>+ <fielddescr>Metric</fielddescr> + <fieldname>metric</fieldname> +</columnitem> + <columnitem>+ <fielddescr>Area</fielddescr> + <fieldname>interfacearea</fieldname> +</columnitem> + <columnitem>+ <fielddescr>Network Type</fielddescr> + <fieldname>networktype</fieldname> +</columnitem> + <service><name>Quagga OSPFd</name> <rcfile>quagga.sh</rcfile></service> ```![qugga-int-patch.PNG](/public/_imported_attachments_/1/qugga-int-patch.PNG) ![qugga-int-patch.PNG_thumb](/public/_imported_attachments_/1/qugga-int-patch.PNG_thumb)
-
@pan_2:
Hope it will be added to package.
This is a wrong place to submit patches you want included. Need to go to GitHub as pull request:
https://github.com/pfsense/FreeBSD-ports/tree/devel/net/pfSense-pkg-Quagga_OSPF
https://www.pfsense.org/about-pfsense/#cla
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.