Fix: Match complete string when filtering for interface
[lcr.git] / route.c
diff --git a/route.c b/route.c
index 61a5b60..7216842 100644 (file)
--- a/route.c
+++ b/route.c
@@ -1969,7 +1969,7 @@ struct route_action *EndpointAppPBX::route(struct route_ruleset *ruleset)
                                if (!e_callerinfo.interface[0])
                                        break;
                                string = e_callerinfo.interface;
-                               goto match_string_prefix;
+                               goto match_string;
 
                                case MATCH_CALLERID:
                                string = callerid;