File tree 2 files changed +4
-8
lines changed
plugins/vpp/l2plugin/vppcalls/vpp2005
2 files changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -55,10 +55,3 @@ func (h *BridgeDomainVppHandler) DeleteBridgeDomain(bdIdx uint32) error {
55
55
56
56
return nil
57
57
}
58
-
59
- func boolToUint (value bool ) uint8 {
60
- if value {
61
- return 1
62
- }
63
- return 0
64
- }
Original file line number Diff line number Diff line change @@ -38,7 +38,10 @@ func (h *BridgeDomainVppHandler) DumpBridgeDomains() ([]*vppcalls.BridgeDomainDe
38
38
var bds []* vppcalls.BridgeDomainDetails
39
39
40
40
// dump bridge domains
41
- reqCtx := h .callsChannel .SendMultiRequest (& vpp_l2.BridgeDomainDump {BdID : ^ uint32 (0 )})
41
+ reqCtx := h .callsChannel .SendMultiRequest (& vpp_l2.BridgeDomainDump {
42
+ BdID : ^ uint32 (0 ),
43
+ SwIfIndex : ^ vpp_l2 .InterfaceIndex (0 ),
44
+ })
42
45
43
46
for {
44
47
bdDetails := & vpp_l2.BridgeDomainDetails {}
You can’t perform that action at this time.
0 commit comments