Commit e4268f4
committed
test: handle endpoint lookup in case of gateway route
Currently find_endpoint incorrectly tries to find physical address for
sent EID. This fails in case EID is a gatewayed endpoint because don't
have neighbors or physical address.
For gateway routes, return the gateway's physical address instead.
The gateway endpoint will then forward the message to the correct
bridged endpoint internally via looking into its bridged endpoint list.
Signed-off-by: Faizan Ali <faizana@nvidia.com>1 parent 70c2196 commit e4268f4
1 file changed
+15
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
258 | 258 | | |
259 | 259 | | |
260 | 260 | | |
261 | | - | |
262 | | - | |
263 | | - | |
264 | | - | |
265 | | - | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
266 | 276 | | |
267 | 277 | | |
268 | 278 | | |
| |||
0 commit comments