Code cleanup in LiSA implementation

* if_get_type will have "type" as it's third parameter and not "mode"
because it doesn't refer to "access" or "trunk"

Signed-off-by: Claudiu Ghioc <claudiu.ghioc@gmail.com>