DCO needs an explicit gateway for routing to actually work.

Note: if you export routes with bird, you may need to use next hop self

---
 UserAcct.cpp |   20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

--- a/UserAcct.cpp
+++ b/UserAcct.cpp
@@ -703,6 +703,11 @@ void UserAcct::delSystemRoutes(PluginCon
 					strncat(routestring, " via ", 5);
 					strncat(routestring, framedgw, 16);
 				}
+				else if (this->getFramedIp()[0] != '\0')
+				{
+					strncat(routestring, " via ", 5);
+					strncat(routestring, this->getFramedIp().c_str(), 16);
+				}
 				if (framedmetric[0]!='\0')
 				{
 					strncat(routestring, " metric ", 8);
@@ -1004,6 +1014,11 @@ void UserAcct::addSystemRoutes(PluginCon
 					strncat(routestring, " via ", 5);
 					strncat(routestring, framedgw, 16);
 				}
+				else if (this->getFramedIp()[0] != '\0')
+				{
+					strncat(routestring, " via ", 5);
+					strncat(routestring, this->getFramedIp().c_str(), 16);
+				}
 				if (framedmetric[0]!='\0')
 				{
 					strncat(routestring, " metric ", 8);
