Merge branch 'master' into next

This commit is contained in:
Michael Tremer
2023-02-21 10:15:04 +00:00
4 changed files with 8 additions and 3 deletions

View File

@@ -148,6 +148,7 @@ lib/firmware/mediatek/WIFI_MT7961_patch_mcu_1_2_hdr.bin
lib/firmware/mediatek/WIFI_RAM_CODE_MT7961_1.bin
lib/firmware/qca/nvm_usb_00190200.bin
lib/firmware/qca/rampatch_usb_00190200.bin
lib/udev/network-aqm
lib/udev/network-hotplug-rename
srv/web/ipfire/cgi-bin/ovpnmain.cgi
srv/web/ipfire/cgi-bin/pppsetup.cgi

View File

@@ -26,7 +26,7 @@ include Config
SUMMARY = Antivirus Toolkit
VER = 1.0.0
VER = 1.0.1
THISAPP = clamav-$(VER)
DL_FILE = $(THISAPP).tar.gz
@@ -34,7 +34,7 @@ DL_FROM = $(URL_IPFIRE)
DIR_APP = $(DIR_SRC)/$(THISAPP)
TARGET = $(DIR_INFO)/$(THISAPP)
PROG = clamav
PAK_VER = 64
PAK_VER = 65
DEPS =
@@ -50,7 +50,7 @@ objects = $(DL_FILE)
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
$(DL_FILE)_BLAKE2 = 62d00a9ceb1849d1517f34194daaa3bb8bbc904e81e3a20791cf0b5f557587cc497e23feb38cdfbb8b152446821eb20d9a4bce18a0c83d1c31474bfed9944c69
$(DL_FILE)_BLAKE2 = 8f216051eeb94a9196849c9edff2fe0c73e4aa3ca242cf72d91c1692eb2a4688f8e525f638b6870a2f934976435a4272a1f116c1cf3a7cfd194efa91f11fd135
install : $(TARGET)

View File

@@ -273,6 +273,10 @@ qmi_assign_address() {
# Find the device
local device="$(qmi_find_device "${intf}")"
# Switch off the raw_ip mode to be able to proper
# assign the generated MAC address.
echo "N" > "/sys/class/net/${intf}/qmi/raw_ip"
local address
# Generate a "random" MAC address using the device number