Update tx and output node runtime when recycling interface 47/3447/3
authorPierre Pfister <ppfister@cisco.com>
Mon, 17 Oct 2016 14:58:29 +0000 (15:58 +0100)
committerJohn Lo <loj@cisco.com>
Tue, 18 Oct 2016 14:29:15 +0000 (14:29 +0000)
commit064f55da7798f3a4c790b656dba71b32a3b82a5c
treef8b236e2d3f21a70c3f2d27f3ca7610c314d178c
parent45c3850126f4d0c64f40762f84b7e104777218d5
Update tx and output node runtime when recycling interface

When an interface is removed, and another one is created,
the nodes from the previous interface are reused. The current
code fails when the new interface type differs from the original.
It is necessary to update the node runtime, in particular the
node function, and the node format function.

Jira: VPP-460

Change-Id: I2fc3c609e0173a7f62597230768669039853ab03
Signed-off-by: Pierre Pfister <ppfister@cisco.com>
vnet/vnet/interface.c