vtep-ctl: Fix a bug.
authorAlex Wang <alexw@nicira.com>
Tue, 9 Jun 2015 05:57:09 +0000 (22:57 -0700)
committerAlex Wang <alexw@nicira.com>
Thu, 11 Jun 2015 23:27:32 +0000 (16:27 -0700)
commite815de429c66a6c73d0605e36bf9be4eeec785ce
treebdad065bd8124a9ddba524d1200af26f383f7c40
parent6787a49f69168e78f5d8af8aa8be128385650a50
vtep-ctl: Fix a bug.

add_port_to_cache() uses 'cache_name' as the shash node name for
shash_add().  So, the del_cached_port() must also pass 'cache_name'
as argument for shash_find_and_delete().

This bug does not cause any issue currently but should be fixed.

Signed-off-by: Alex Wang <alexw@nicira.com>
Acked-by: Justin Pettit <jpettit@nicira.com>
vtep/vtep-ctl.c