summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/ipcp_config.proto7
-rw-r--r--src/lib/irm.c2
2 files changed, 6 insertions, 3 deletions
diff --git a/src/lib/ipcp_config.proto b/src/lib/ipcp_config.proto
index b6c8c303..25516c2c 100644
--- a/src/lib/ipcp_config.proto
+++ b/src/lib/ipcp_config.proto
@@ -38,9 +38,10 @@ message ipcp_config_msg {
optional uint32 addr_auth_type = 6;
optional uint32 dt_gam_type = 7;
optional uint32 rm_gam_type = 8;
+ optional uint32 routing_type = 9;
// Config for shim UDP
- optional uint32 ip_addr = 9;
- optional uint32 dns_addr = 10;
+ optional uint32 ip_addr = 10;
+ optional uint32 dns_addr = 11;
// Config for the shim Ethernet LLC
- optional string if_name = 11;
+ optional string if_name = 12;
}
diff --git a/src/lib/irm.c b/src/lib/irm.c
index d2f85bbf..68202ad9 100644
--- a/src/lib/irm.c
+++ b/src/lib/irm.c
@@ -126,6 +126,8 @@ int irm_bootstrap_ipcp(pid_t api,
config.dt_gam_type = conf->dt_gam_type;
config.has_rm_gam_type = true;
config.rm_gam_type = conf->rm_gam_type;
+ config.has_routing_type = true;
+ config.routing_type = conf->routing_type;
break;
case IPCP_SHIM_UDP:
config.has_ip_addr = true;