xmipv6: fixed a build error if xmipv6 was disabled.
fix: crash when ethernet-switch started to send pause frames.
build: updated .cproject
cosmetics.