Hi

On 16/12/2018 9:50, John Lines wrote:
Package: dahdi
Version: 1:2.11.1-3
Severity: important

Dear Maintainer,

Some kernel version - possibly 4.13.0, changed the name of the spantype attribute from
spantype to dahdi_spantype.

This breaks dahdi_span_assignments, dahdi_genconf, dahdi_span_types and possibly others

Asterisk reference to the same issue at https://issues.asterisk.org/jira/browse/DAHTOOL-80

Simple fix for dahdi_span_assignments is

159,160c159
< #		for local_spanno in `cut -d: -f1 "$device/spantype"`
< 		for local_spanno in `cut -d: -f1 "$device/dahdi_spantype"`
---
		for local_spanno in `cut -d: -f1 "$device/spantype"`

This patch does not fix all places. It also breaks older versions (and dahdi-tools should work with older versions of the driver).

The fix is, indeed, rather simple. I started working on it. I hope to have it today or tomorrow.


-- Tzafrir

Reply via email to