Skip to content

Commit 38bd2ff

Browse files
committed
Parity.
1 parent 8a33170 commit 38bd2ff

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

illumos-utils/src/opte/non_illumos.rs

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ use oxide_vpc::api::ClearVirt2PhysReq;
1111
use oxide_vpc::api::DelRouterEntryReq;
1212
use oxide_vpc::api::DhcpCfg;
1313
use oxide_vpc::api::Direction;
14-
use oxide_vpc::api::DumpVirt2PhysReq;
1514
use oxide_vpc::api::DumpVirt2PhysResp;
1615
use oxide_vpc::api::IpCfg;
1716
use oxide_vpc::api::IpCidr;
@@ -230,7 +229,10 @@ impl Handle {
230229
}
231230

232231
/// Set new firewall rules.
233-
pub fn set_fw_rules(&self, _: &SetFwRulesReq) -> Result<NoResp, OpteError> {
232+
pub fn set_firewall_rules(
233+
&self,
234+
_: &SetFwRulesReq,
235+
) -> Result<NoResp, OpteError> {
234236
Ok(NO_RESPONSE)
235237
}
236238

@@ -289,10 +291,7 @@ impl Handle {
289291
}
290292

291293
/// Dump a mapping from a virtual NIC to a physical host.
292-
pub fn dump_v2p(
293-
&self,
294-
_: &DumpVirt2PhysReq,
295-
) -> Result<DumpVirt2PhysResp, OpteError> {
294+
pub fn dump_v2p(&self) -> Result<DumpVirt2PhysResp, OpteError> {
296295
unimplemented!("Not yet used in tests")
297296
}
298297

0 commit comments

Comments
 (0)