src/examples/dumper/dumper.rb in trema-0.2.5 vs src/examples/dumper/dumper.rb in trema-0.2.6

- old
+ new

@@ -158,10 +158,10 @@ ############################################################################## def dump_phy_port port # for testing port-status record the mac address if port.number == 2. - @hw_addr = port.hw_addr if port.number == 2 + @hw_addr = port.hw_addr if port.number == 2 info "port_no: #{ port.number }" info " hw_addr: #{ port.hw_addr }" info " name: #{ port.name }" info " config: #{ port.config.to_hex }" info " state: #{ port.state.to_hex }"