… | |
… | |
115 | $v = $v > 1; |
115 | $v = $v > 1; |
116 | $ns->{can_widget} = $v; |
116 | $ns->{can_widget} = $v; |
117 | $ns->fx_want (6 => 1); # need support for RSRC |
117 | $ns->fx_want (6 => 1); # need support for RSRC |
118 | $setup{$k} = $v ? 2 : 0; |
118 | $setup{$k} = $v ? 2 : 0; |
119 | |
119 | |
|
|
120 | } elsif ($k eq "lzf") { |
|
|
121 | # the lzf packet simply contains an lzf-compressed packet as argument |
|
|
122 | $ns->{can_lzf} = $v == 1; |
|
|
123 | |
|
|
124 | } elsif ($k eq "frag") { |
|
|
125 | # the frag packet contains data which gets appended to the existing packet buffer. |
|
|
126 | # empty frag packet means end of packet. |
|
|
127 | $ns->{can_frag} = $v == 1; |
|
|
128 | |
120 | } elsif ($k eq "excmd") { |
129 | } elsif ($k eq "excmd") { |
121 | # we support it |
130 | # we support it |
122 | |
131 | |
123 | } else { |
132 | } else { |
124 | # other commands: |
133 | # other commands: |