#!/bin/sh # cksipmodules # Reload the ip_nat_sip and ip_conntrack_sip modules if we need to. # David Cantrell PATH=/bin:/usr/bin:/sbin badmsg="$(dmesg | tail -n 1)" if [ "${badmsg}" = "ip_nat_mangle_udp_packet: undersized packet" ]; then dmesg -c rmmod ip_nat_sip ip_conntrack_sip sleep 1 insmod ip_conntrack_sip insmod ip_nat_sip fi