Fixing input arguments for Layer 2 detection.