Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Correctly copy vendor specific attributes in copy_request_to_tunnel #1544
+4
−2
Conversation
alandekok
added a commit
that referenced
this pull request
Feb 24, 2016
|
|
alandekok |
fceb137
|
|
I put the vendor check above the switch, which meets more of the existing code style. |
alandekok
closed this
Feb 24, 2016
|
Great thanks. I find that harder to read, but I guess it saves a few cycles :). |
mcnewton
deleted the
mcnewton:crtt30 branch
Feb 24, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
mcnewton commentedFeb 22, 2016
Checking just vp->da->attr is not enough; we also need to ensure that a vendor is not set. Specifically Cisco-AVPair is attribute 1, the same as User-Name...