]> git.ipfire.org Git - people/arne_f/network.git/blame - functions.ethernet
network: Some work on configuration code.
[people/arne_f/network.git] / functions.ethernet
CommitLineData
711ffac1
MT
1#!/bin/bash
2# XXX header missing
3
4function ethernet_device_print() {
5 local device=${1}
6
7 printf "${DEVICE_PRINT_LINE1}" "Address:" "$(device_get_address ${device})"
8 printf "${DEVICE_PRINT_LINE1}" "MTU:" "$(device_get_mtu ${device})"
9}
10
11function real_device_print() {
12 warning_log "Deprecated function called: real_device_print"
13
14 ethernet_device_print $@
15}