@@ -446,8 +446,8 @@ struct vtep_ctl_context {
* struct vtep_ctl_lswitch. */
struct shash plocs; /* Maps from "<encap>+<dst_ip>" to
* struct vteprec_physical_locator. */
- struct shash lrouters; /* Maps from logical router name to
- * struct vtep_ctl_lswitch. */
+ struct shash lrouters; /* Maps from logical router name to
+ * struct vtep_ctl_lrouter. */
};
/* Casts 'base' into 'struct vtep_ctl_context'. */
@@ -1550,7 +1550,7 @@ cmd_add_lr(struct ctl_context *ctx)
vtep_ctl_context_populate_cache(ctx);
if (find_lrouter(vtepctl_ctx, lr_name, false)) {
if (!may_exist) {
- ctl_fatal("cannot create logical switch %s because it "
+ ctl_fatal("cannot create logical router %s because it "
"already exists", lr_name);
}
return;