diff options
Diffstat (limited to 'src/ipcpd/normal')
-rw-r--r-- | src/ipcpd/normal/dt.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ipcpd/normal/dt.c b/src/ipcpd/normal/dt.c index da03d9b8..9ab16460 100644 --- a/src/ipcpd/normal/dt.c +++ b/src/ipcpd/normal/dt.c @@ -543,6 +543,7 @@ int dt_init(enum pol_routing pr, { int i; int j; + char dtstr[256]; struct conn_info info; memset(&info, 0, sizeof(info)); @@ -612,7 +613,8 @@ int dt_init(enum pol_routing pr, dt.n_flows = 0; #endif - if (rib_reg(DT, &r_ops)) + sprintf(dtstr, "%s.%" PRIu64, DT, ipcpi.dt_addr); + if (rib_reg(dtstr, &r_ops)) goto fail_rib_reg; return 0; |