#!/bin/sh
#
# Copyright (C) 2026 iopsys Software Solutions AB
#
# See LICENSE file for license related information.
#
# TODO(deployment): implement the BFDEcho probe — TR-181 Method "BFDEcho"
# (Bidirectional Forwarding Detection echo to the default gateway). Positional
# contract, see Ping:
#   $1 interface  $2 dest  $3 ipversion  $4 timeout  $5 dscp  $6 priority
#
# Unimplemented stub. Exits 0 ("reachable") so selecting Method=BFDEcho never
# escalates into failure actions before a real probe is provided. Replace with
# a real implementation; exit 0 = Up, non-zero = Unresponsive.

. /usr/share/connmon/functions.sh

log_warn "not implemented (stub) for iface '$1'; treating as reachable"
exit 0
