diff options
Diffstat (limited to 'include/ctables.h')
-rw-r--r-- | include/ctables.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/include/ctables.h b/include/ctables.h index 747901459..81b841e81 100644 --- a/include/ctables.h +++ b/include/ctables.h @@ -75,10 +75,17 @@ struct RouteDescriptor */ std::string serverdest; + /** For unicast, the destination Server + */ + Server* server; + /** Create a RouteDescriptor */ RouteDescriptor(RouteType t, const std::string &d) - : type(t), serverdest(d) { } + : type(t), serverdest(d), server(NULL) { } + + RouteDescriptor(RouteType t, Server* srv) + : type(t), server(srv) { } }; /** Do not route this command */ |