| |
---|
| | fail('method parameter must be one of loopback, static, manual, dhcp, bootp, tunnel, ppp, wvdial or ipv4ll for family inet') |
---|
| | } |
---|
| | } |
---|
| | inet6: { |
---|
| | if ! ($method in [loopback, static, manual, v4tunnel]) { |
---|
| | fail('method parameter must be one of loopback, static, manual or v4tunnel for family inet6') |
---|
| | if ! ($method in [auto, loopback, static, manual, dhcp, v4tunnel, 6to4]) { |
---|
| | fail('method parameter must be one of auto, loopback, static, manual, dhcp, v4tunnel or 6to4 for family inet6') |
---|
| | } |
---|
| | } |
---|
| | ipx: { |
---|
| | if ! ($method in [static, dynamic]) { |
---|
| |
---|
| | |
|