-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
The switch fails to start when calling for example
curl -d '{"host_id": "192.169.0.101", "type": "local/linc", "interfaces": ["cen1", "cen2"]}' http://localhost:8080/switchThe error is:
(linc@leviathan1)1> 10:11:07.901 [error] CRASH REPORT Process <0.757.0> with 1 neighbours exited with reason: no match of right hand value {error,enodev} in linc_us4_oe_port_native:linux_raw_socket/1 line 170 in gen_server:init_it/6 line 328
10:11:07.901 [error] Backend module linc_us4_oe failed to start because: {case_clause,{error,{{badmatch,{error,enodev}},[{linc_us4_oe_port_native,linux_raw_socket,1,[{file,"src/linc_us4_oe_port_native.erl"},{line,170}]},{linc_us4_oe_port_native,eth,1,[{file,"src/linc_us4_oe_port_native.erl"},{line,79}]},{linc_us4_oe_port,init,1,[{file,"src/linc_us4_oe_port.erl"},{line,469}]},{gen_server,init_it,6,[{file,"gen_server.erl"},{line,304}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,239}]}]}}}However it works for multi-host-demo tag.