~ubuntu-branches/ubuntu/trusty/ufw/trusty-proposed

« back to all changes in this revision

Viewing changes to src/parser.py

  • Committer: Package Import Robot
  • Author(s): Jamie Strandboge
  • Date: 2011-07-18 17:09:57 UTC
  • mfrom: (0.1.16 sid)
  • Revision ID: package-import@ubuntu.com-20110718170957-z7izfiknijlefszw
Tags: 0.30.1-2ubuntu1
* Merge from Debian unstable. Remaining changes:
  - debian/rules: Don't install the upstream application profiles that are
    shipped with the Debian package.
  - debian/control: use ufw-0.30-oneiric for Vcs-Bzr

Show diffs side-by-side

added added

removed removed

Lines of Context:
417
417
                            (rule.protocol)
418
418
                raise UFWError(err_msg)
419
419
            elif type == "both":
420
 
                debug("Adjusting iptype to 'v4' for protocol '%s'") % \
421
 
                      (rule.protocol)
 
420
                debug("Adjusting iptype to 'v4' for protocol '%s'" % \
 
421
                      (rule.protocol))
422
422
                type = "v4"
423
423
 
424
424
            if rule.dport != "any" or rule.sport != "any":